Package ec.eda.cmaes

Class CMAESBreeder

java.lang.Object
ec.Breeder
ec.eda.cmaes.CMAESBreeder
All Implemented Interfaces:
Setup, Singleton, Serializable

public class CMAESBreeder extends Breeder
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:
  • Constructor Details

    • CMAESBreeder

      public CMAESBreeder()
  • Method Details

    • setup

      public void setup(EvolutionState state, Parameter base)
      Description copied from interface: Setup
      Sets 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

      public Population breedPopulation(EvolutionState state)
      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:
      breedPopulation in class Breeder