ECF 1.5
SolverTournamentEA.h
1#include "Solver.h"
2
3
5{
6public:
8 bool advanceGeneration(StateP state, DemeP deme);
9 bool initialize(StateP state);
10 void registerParameters(StateP state);
11
12protected:
14 SelectionOperatorP selRandomOp, selWorstOp;
15
16};
17typedef boost::shared_ptr<SolverTournamentEA> SolverTournamentEAP;
Definition: Solver.h:9
uint nTournament_
tournament size
void registerParameters(StateP state)
Register algorithm's parameters (if any).
bool initialize(StateP state)
Initialize the algorithm, read parameters from the system, do a sanity check.
bool advanceGeneration(StateP state, DemeP deme)
Perform a single generation on a single deme.