Class MooCPU
java.lang.Object
net.bmahe.genetics4j.samples.mixturemodel.MooCPU
-
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
ConstructorDescriptionMooCPU
(int _distributionNumParameters, Comparator<Genotype> _deduplicator, String _baseDir, int _maxGenerations) -
Method Summary
Modifier and TypeMethodDescriptionfitnessCPU
(int numDistributions, double[][] samples) run
(int maxPossibleDistributions, double[][] samples, float[] x, float[] y, String algorithmName, Collection<Genotype> seedPopulation)
-
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
-
MooCPU
public MooCPU(int _distributionNumParameters, Comparator<Genotype> _deduplicator, String _baseDir, int _maxGenerations)
-
-
Method Details
-
fitnessCPU
-
run
public EvolutionResult<FitnessVector<Float>> run(int maxPossibleDistributions, double[][] samples, float[] x, float[] y, String algorithmName, Collection<Genotype> seedPopulation) throws IOException - Throws:
IOException
-