|
GPLIB++
|
Implements binary tournament selection for genetic algorithms. More...
#include <BinaryTournamentSelect.h>

Public Member Functions | |
| BinaryTournamentSelect (GeneralRNG &LocalRandom, tProbabilityFunction myPF, tDistanceFunction myDF) | |
| The constructor requires a random number generator and access functions for probabilities and crowding distances. More... | |
| virtual | ~BinaryTournamentSelect () |
Public Member Functions inherited from gplib::GeneralSelect | |
| void | Init () |
| size_t | GetOne () |
| GeneralSelect () | |
| virtual | ~GeneralSelect () |
Implements binary tournament selection for genetic algorithms.
Definition at line 12 of file BinaryTournamentSelect.h.
| gplib::BinaryTournamentSelect::BinaryTournamentSelect | ( | GeneralRNG & | LocalRandom, |
| tProbabilityFunction | myPF, | ||
| tDistanceFunction | myDF | ||
| ) |
The constructor requires a random number generator and access functions for probabilities and crowding distances.
Definition at line 10 of file BinaryTournamentSelect.cpp.
|
virtual |
Definition at line 18 of file BinaryTournamentSelect.cpp.
1.8.6