Package ec.eda.dovs

Class DOVSBreeder

java.lang.Object
ec.Breeder
ec.eda.dovs.DOVSBreeder
All Implemented Interfaces:
Setup, Singleton, Serializable

public class DOVSBreeder extends Breeder
DOVSBreeder is a Breeder which overrides the breedPopulation method to first construct hyperbox around current best individual and replace the population with new individuals sampled from this hyperbox. All the heavy lifting is done in DOVSSpecies and its descendant, not here.
See Also:
  • Constructor Details

    • DOVSBreeder

      public DOVSBreeder()
  • 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)
      This method have three major part, first identify the best indiviudal, and then call updateMostPromisingArea(...) to construct a hyperbox around this individual. At last, sampled a new population from the hyperbox and take the none redundant samples and return it.
      Specified by:
      breedPopulation in class Breeder