Binary Tournament Selection Operator.
More...
#include <BinaryTournamentSelection.h>
|
void | select (const vector< S > &, int &) override |
| Performs the Binary Tournament Selection operator over the population and sets the index of the parent inside the population to the parent parameter. More...
|
|
S | select (const vector< S > &population) override |
| Performs the Binary Tournament Selection operator over the population and returns the selected parent. More...
|
|
std::string | getName () const override |
|
template<class S>
class BinaryTournamentSelection< S >
Binary Tournament Selection Operator.
- Template Parameters
-
◆ select() [1/2]
Performs the Binary Tournament Selection operator over the population and sets the index of the parent inside the population to the parent parameter.
- Template Parameters
-
- Parameters
-
Implements Selection< S >.
◆ select() [2/2]
Performs the Binary Tournament Selection operator over the population and returns the selected parent.
- Template Parameters
-
- Parameters
-
- Returns
- S
Implements Selection< S >.
The documentation for this class was generated from the following file: