GPLIB++
Public Member Functions | List of all members
gplib::BinaryTournamentSelect Class Reference

Implements binary tournament selection for genetic algorithms. More...

#include <BinaryTournamentSelect.h>

Inheritance diagram for gplib::BinaryTournamentSelect:
Inheritance graph
[legend]

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 ()
 

Detailed Description

Implements binary tournament selection for genetic algorithms.

Definition at line 12 of file BinaryTournamentSelect.h.

Constructor & Destructor Documentation

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.

gplib::BinaryTournamentSelect::~BinaryTournamentSelect ( )
virtual

Definition at line 18 of file BinaryTournamentSelect.cpp.


The documentation for this class was generated from the following files: