Package ec.eda.cmaes
Class CMAESBreeder
java.lang.Object
ec.Breeder
ec.eda.cmaes.CMAESBreeder
- All Implemented Interfaces:
Setup,Singleton,Serializable
CMAESBreeder is a Breeder which overrides the breedPopulation method
to first update CMA-ES's internal distribution, then replace all the
individuals in the population with new samples generated from the
distribution. All the heavy lifting is done in CMAESSpecies, not here.
- See Also:
-
Field Summary
Fields inherited from class ec.Breeder
sequentialBreeding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreedPopulation(EvolutionState state) Updates the CMA-ES distribution given the current population, then replaces the population with new samples generated from the distribution.voidsetup(EvolutionState state, Parameter base) Sets up the object by reading it from the parameters stored in state, built off of the parameter base base.Methods inherited from class ec.Breeder
shouldBreedSubpop
-
Constructor Details
-
CMAESBreeder
public CMAESBreeder()
-
-
Method Details
-
setup
Description copied from interface:SetupSets up the object by reading it from the parameters stored in state, built off of the parameter base base. If an ancestor implements this method, be sure to call super.setup(state,base); before you do anything else. -
breedPopulation
Updates the CMA-ES distribution given the current population, then replaces the population with new samples generated from the distribution. Returns the revised population.- Specified by:
breedPopulationin classBreeder
-