1 #ifndef CBINARYTOURNAMENTSELECT_H_
2 #define CBINARYTOURNAMENTSELECT_H_
18 std::vector<unsigned int> PopulationIndex;
32 virtual void DoInit();
34 virtual size_t DoGetOne();
virtual ~BinaryTournamentSelect()
boost::function< const tprobabilityv &()> tProbabilityFunction
ublas::vector< double > tprobabilityv
Implements binary tournament selection for genetic algorithms.
GeneralSelect is the abstract base class for any selection mechanism in genetic algorithms.
BinaryTournamentSelect(GeneralRNG &LocalRandom, tProbabilityFunction myPF, tDistanceFunction myDF)
The constructor requires a random number generator and access functions for probabilities and crowdin...
boost::function< const tcrowddistv &()> tDistanceFunction
The base class for all random number generators, defines the basic interface.
ublas::vector< double > tcrowddistv