Random individual selection operator. More...
#include <SelRandomOp.h>
Public Member Functions | |
| bool | initialize (StateP) |
| IndividualP | select (const std::vector< IndividualP > &) |
Protected Attributes | |
| RandomizerP | randomizer_ |
Random individual selection operator.
Definition at line 10 of file SelRandomOp.h.
| bool SelRandomOp::initialize | ( | StateP | ) | [virtual] |
Selection operator initialization. Must be called before individual selection.
Implements SelectionOperator.
Definition at line 5 of file SelRandomOp.cpp.
| IndividualP SelRandomOp::select | ( | const std::vector< IndividualP > & | ) | [virtual] |
Select one individual from a set.
Implements SelectionOperator.
Definition at line 13 of file SelRandomOp.cpp.
1.7.1