ECF 1.5
|
Selection operator base class. More...
#include <SelectionOperator.h>
Public Member Functions | |
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 | |
StateP | state_ |
Selection operator base class.
All selection operators select one individual from a set, using different methods.
Definition at line 18 of file SelectionOperator.h.
|
inlinevirtual |
Definition at line 23 of file SelectionOperator.h.
|
pure virtual |
Selection operator initialization. Must be called before individual selection.
Implemented in SelBestOp, SelFitnessProportionalOp, SelRandomOp, and SelWorstOp.
|
pure virtual |
Select one individual from a set.
Implemented in SelBestOp, SelFitnessProportionalOp, SelRandomOp, and SelWorstOp.
|
protected |
Definition at line 21 of file SelectionOperator.h.