Package ec.eda.dovs
Class DOVSBreeder
java.lang.Object
ec.Breeder
ec.eda.dovs.DOVSBreeder
- All Implemented Interfaces:
Setup,Singleton,Serializable
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:
-
Field Summary
Fields inherited from class ec.Breeder
sequentialBreeding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbreedPopulation(EvolutionState state) This method have three major part, first identify the best indiviudal, and then call updateMostPromisingArea(...) to construct a hyperbox around this individual.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
-
DOVSBreeder
public DOVSBreeder()
-
-
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
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:
breedPopulationin classBreeder
-