#include <EGTSelection.h>
Inheritance diagram for EGTSelection< TP >:
Public Types | |
typedef TP | Pop |
typedef Pop::Graph | Graph |
typedef EGTVector< const Graph * > | Graphs |
Public Methods | |
virtual | ~EGTSelection () |
Destructor. | |
virtual void | Selection (const Pop &src, Graphs &dest, UInt uCount)=0 |
Performs selection operations to the Population. | |
virtual void | Selection (const Pop &src, Pop &dest, UInt uCount)=0 |
Performs selection operations to the Population. |
A selection operation is used to select a Graph from the Population.
This class is a pure virtual (abstract) class and cannot be instantiated.
To make your derived class, you must define your own Selection function and Fill function.
It is assumed that <TP> is a subclass of EGTPopulation.
|
Reimplemented in EGTElitistSel< TP >, and EGTRouletteSel< TP >. |
|
Reimplemented in EGTElitistSel< TP >, and EGTRouletteSel< TP >. |
|
Reimplemented in EGTElitistSel< TP >, and EGTRouletteSel< TP >. |
|
Destructor.
|
|
Performs selection operations to the Population. This function is pure virtual and cannot be instantiated, so it should be implemented in the derived class.
Implemented in EGTElitistSel< TP >, and EGTRouletteSel< TP >. |
|
Performs selection operations to the Population. This function is pure virtual and cannot be instantiated, so it should be implemented in the derived class.
Implemented in EGTElitistSel< TP >, and EGTRouletteSel< TP >. |