Class MooGPU
java.lang.Object
net.bmahe.genetics4j.samples.mixturemodel.MooGPU
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final Comparator
<Genotype> private final int
static final org.apache.logging.log4j.Logger
private final int
-
Constructor Summary
ConstructorDescriptionMooGPU
(int _distributionNumParameters, Comparator<Genotype> _deduplicator, String _baseDir, int _maxGenerations) -
Method Summary
Modifier and TypeMethodDescriptionDataSupplier
<float[]> computeSideData
(int maxPossibleDistributions) final FitnessExtractor
<FitnessVector<Float>> fitnessExtractor
(int maxPossibleDistributions, double[][] samples) void
run
(int maxPossibleDistributions, int numDistributions, double[][] samplesDouble, float[][] samples, float[] x, float[] y, String algorithmName, Collection<Genotype> seedPopulation, EvolutionResult<FitnessVector<Float>> bestCPUResult)
-
Field Details
-
logger
public static final org.apache.logging.log4j.Logger logger -
distributionNumParameters
private final int distributionNumParameters -
deduplicator
-
baseDir
-
maxGenerations
private final int maxGenerations
-
-
Constructor Details
-
MooGPU
public MooGPU(int _distributionNumParameters, Comparator<Genotype> _deduplicator, String _baseDir, int _maxGenerations)
-
-
Method Details
-
fitnessExtractor
public final FitnessExtractor<FitnessVector<Float>> fitnessExtractor(int maxPossibleDistributions, double[][] samples) -
computeSideData
-
run
public void run(int maxPossibleDistributions, int numDistributions, double[][] samplesDouble, float[][] samples, float[] x, float[] y, String algorithmName, Collection<Genotype> seedPopulation, EvolutionResult<FitnessVector<Float>> bestCPUResult) throws IOException - Throws:
IOException
-