public class SPEA2Breeder extends SimpleBreeder
backupPopulation, clonePipelineAndPopulation, elite, eliteFrac, NOT_SET, P_CLONE_PIPELINE_AND_POPULATION, P_ELITE, P_ELITE_FRAC, P_REEVALUATE_ELITES, P_SEQUENTIAL_BREEDING, pool, reevaluateElites, sequentialBreeding| Constructor and Description |
|---|
SPEA2Breeder() |
| Modifier and Type | Method and Description |
|---|---|
void |
buildArchive(EvolutionState state,
Individual[] oldInds,
Individual[] newInds,
int archiveSize) |
double[] |
calculateDistancesFromIndividual(Individual ind,
Individual[] inds) |
protected void |
loadElites(EvolutionState state,
Population newpop)
A private helper function for breedPopulation which loads elites into
a subpopulation.
|
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, breedPopulation, computeSubpopulationLength, numElites, shouldBreedSubpop, unmarkElitesEvaluated, usingElitismpublic void setup(EvolutionState state, Parameter base)
Setupsetup in interface Setupsetup in class SimpleBreederprotected void loadElites(EvolutionState state, Population newpop)
SimpleBreederloadElites in class SimpleBreederpublic double[] calculateDistancesFromIndividual(Individual ind, Individual[] inds)
public void buildArchive(EvolutionState state, Individual[] oldInds, Individual[] newInds, int archiveSize)
Copyright © 2014 Evolutionary Computation Laboratory at George Mason University. All rights reserved.