public abstract class EvolutionaryStrategy extends Module
mutator.mutate() to generically mutate the promoted individual(s). Parameter-dependent
strategies can be implemented by accessing the parameters via the resources
argument.
registerParameters() should be displayed by the user interface,
if it is being used. See Module for more information.
Resources.reportln() and Resources.report()
to print any relevant information. Note that reportln() and report() are affected
by the report interval base parameter. Use Resources.println() and
Resources.print() to print information regardless of the current generation.
See Resources for more information.Module| Modifier and Type | Method and Description |
|---|---|
abstract void |
evolve(Population population,
Mutator mutator)
Performs the selection algorithm and uses the mutator to create
the next generation of solutions.
|
getLocalParameters, toStringpublic abstract void evolve(Population population, Mutator mutator)
population - the population to evolve.mutator - the mutator with which to mutate the promoted individuals.