1#ifndef Roulette_Wheel_h
2#define Roulette_Wheel_h
5#include "SelRandomOp.h"
7#include "SelFitnessProportionalOp.h"
42 SelFitnessProportionalOpP selFitPropOp;
43 SelRandomOpP selRandomOp;
47typedef boost::shared_ptr<RouletteWheel> RouletteWheelP;
Generational algorithm with roulette wheel selection operator.
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).
bool advanceGeneration(StateP state, DemeP deme)
Perform a single generation on a single deme.
double crxRate_
crossover rate
double selPressure_
selection pressure