Modifier and Type | Method and Description |
---|---|
Chromosome |
ChromosomeFactory.createChromosome(double[] genes,
double fitness)
Create a new instance of a Chromosome
|
Modifier and Type | Field and Description |
---|---|
protected List<Chromosome> |
ParentSelection.population |
Modifier and Type | Method and Description |
---|---|
void |
ParentSelection.initializeInstance(List<Chromosome> population)
Will be called by the crossover operator once the population model is instantiated.
|
Modifier and Type | Field and Description |
---|---|
protected List<Chromosome> |
RatioCullOperator.population |
Modifier and Type | Field and Description |
---|---|
List<Chromosome> |
PopulationModel.population
The population
|
Modifier and Type | Method and Description |
---|---|
List<Chromosome> |
EmptyPopulationInitializer.getInitializedPopulation(int size)
Initialize an empty population
|
List<Chromosome> |
PopulationInitializer.getInitializedPopulation(int size)
Called by the population model to construct the population
|
Modifier and Type | Method and Description |
---|---|
void |
PopulationModel.add(Chromosome element)
Add a Chromosome to the population and call the PopulationListeners.
|
int |
PopulationModel.MaximizeScoreComparator.compare(Chromosome lhs,
Chromosome rhs) |
int |
PopulationModel.MinimizeScoreComparator.compare(Chromosome lhs,
Chromosome rhs) |
Modifier and Type | Method and Description |
---|---|
void |
PopulationListener.onChanged(List<Chromosome> population)
Called after the population has changed.
|
Copyright © 2020. All rights reserved.