1#ifndef Solver_Evolution_Strategy_h
2#define Solver_Evolution_Strategy_h
21 SelectionOperatorP selBestOp_, selRandomOp_;
23 static bool compare(IndividualP first, IndividualP second)
24 {
return first->fitness->isBetterThan(second->fitness); }
27typedef boost::shared_ptr<SolverEvolutionStrategy> SolverEvolutionStrategyP;
bool initialize(StateP state)
Initialize the algorithm, read parameters from the system, do a sanity check.
void registerParameters(StateP state)
Register algorithm's parameters (if any).
uint rho_
number of parents (1 or 2)
bool advanceGeneration(StateP state, DemeP deme)
Perform a single generation on a single deme.
uint lambda_
number of offspring
uint mu_
the size of the parent population
uint subPopulations_
how many parent populations are in a deme
bool plusSelection_
type of selection (plus or comma)