public class NSGA2Breeder extends SimpleBreeder
NSGA-II has fixed archive size (the population size), and so ignores the 'elites' declaration. However it will adhere to the 'reevaluate-elites' parameter in SimpleBreeder to determine whether to force fitness reevaluation.
backupPopulation, clonePipelineAndPopulation, elite, eliteFrac, minimumSize, NOT_SET, P_CLONE_PIPELINE_AND_POPULATION, P_ELITE, P_ELITE_FRAC, P_MINIMUM_SIZE, P_REDUCE_BY, P_REEVALUATE_ELITES, P_SEQUENTIAL_BREEDING, pool, reduceBy, reevaluateElites, sequentialBreeding
Constructor and Description |
---|
NSGA2Breeder() |
Modifier and Type | Method and Description |
---|---|
Population |
breedPopulation(EvolutionState state)
Override breedPopulation().
|
void |
setup(EvolutionState state,
Parameter base)
Sets up the object by reading it from the parameters stored
in state, built off of the parameter base base.
|
breedPopChunk, computeSubpopulationLength, loadElites, numElites, shouldBreedSubpop, unmarkElitesEvaluated, usingElitism
public void setup(EvolutionState state, Parameter base)
Setup
setup
in interface Setup
setup
in class SimpleBreeder
public Population breedPopulation(EvolutionState state)
NSGA2Evaluator.evaluatePopulation()
will be passed a
population of 2xoriginalPopSize
individuals.breedPopulation
in class SimpleBreeder