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