java.lang.Object
net.bmahe.genetics4j.gpu.spec.fitness.cldata.DataLoaders

public class DataLoaders extends Object
  • Field Details

    • logger

      public static final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • DataLoaders

      private DataLoaders()
  • Method Details

    • ofFloatSupplier

      public static DataLoader ofFloatSupplier(DataSupplier<float[]> floatSupplier)
    • ofIntSupplier

      public static DataLoader ofIntSupplier(DataSupplier<int[]> intSupplier)
    • ofGenerationAndPopulationSize

      public static DataLoader ofGenerationAndPopulationSize(boolean readOnly)
    • ofGenerationAndPopulationSize

      public static DataLoader ofGenerationAndPopulationSize()
    • ofLinearizeFloatChromosome

      public static DataLoader ofLinearizeFloatChromosome(int chromosomeIndex, boolean readOnly)
    • ofLinearizeFloatChromosome

      public static DataLoader ofLinearizeFloatChromosome(int chromosomeIndex)
    • ofLinearizeDoubleChromosome

      public static DataLoader ofLinearizeDoubleChromosome(int chromosomeIndex, boolean readOnly)
    • ofLinearizeDoubleChromosome

      public static DataLoader ofLinearizeDoubleChromosome(int chromosomeIndex)