Package ec.es
Class MuPlusLambdaBreeder
java.lang.Object
ec.Breeder
ec.es.MuCommaLambdaBreeder
ec.es.MuPlusLambdaBreeder
- All Implemented Interfaces:
Setup,Singleton,Serializable
MuPlusLambdaBreeder is a subclass of MuCommaLambdaBreeder which, together with
ESSelection, implements the (mu + lambda) breeding strategy and gathers
the comparison data you can use to implement a 1/5-rule mutation mechanism.
Note that MuPlusLambdaBreeder increases subpopulation sizes by their mu
values in the second generation and keep them at that size thereafter.
See MuCommaLambdaBreeder for information about how to set mu and lambda.
- See Also:
-
Field Summary
Fields inherited from class ec.es.MuCommaLambdaBreeder
C_EXACTLY_ONE_FIFTH_BETTER, C_OVER_ONE_FIFTH_BETTER, C_UNDER_ONE_FIFTH_BETTER, comparison, count, lambda, mu, newIndividuals, P_LAMBDA, P_MU, P_MU_FRACTION, parentPopulationFields inherited from class ec.Breeder
sequentialBreeding -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlambda should be no SMALLER than mu times this value.postProcess(Population newpop, Population oldpop, EvolutionState state) A hook for Mu+Lambda, not used in Mu,LambdaMethods inherited from class ec.es.MuCommaLambdaBreeder
breedPopChunk, breedPopulation, setupMethods inherited from class ec.Breeder
shouldBreedSubpop
-
Constructor Details
-
MuPlusLambdaBreeder
public MuPlusLambdaBreeder()
-
-
Method Details
-
maximumMuLambdaDivisor
public int maximumMuLambdaDivisor()Description copied from class:MuCommaLambdaBreederlambda should be no SMALLER than mu times this value. This varies between (mu,lambda) (where it's 2) and (mu + lambda) (where it's 1).- Overrides:
maximumMuLambdaDivisorin classMuCommaLambdaBreeder
-
postProcess
Description copied from class:MuCommaLambdaBreederA hook for Mu+Lambda, not used in Mu,Lambda- Overrides:
postProcessin classMuCommaLambdaBreeder
-