#include <eoSelectFromWorth.h>
Inheritance diagram for eoSelectFromWorth< EOT, WorthType >:

Public Member Functions | |
| eoSelectFromWorth (eoPerf2Worth< EOT, WorthType > &_perf2Worth) | |
| virtual void | setup (const eoPop< EOT > &pop) |
| virtual function to setup some population stats (for instance eoProportional can benefit greatly from this) | |
Protected Member Functions | |
| void | check_sync (unsigned index, const EOT &_eo) |
Protected Attributes | |
| eoPerf2Worth< EOT, WorthType > & | perf2Worth |
| std::vector< typename EOT::Fitness > | fitness |
EO fitness is what Koza terms "raw fitness", Worth is what the selection is based upon).
see class eoPerf2Worth: an eoStat that transforms fitnesses into Worthes
Note: Worthes will not always be doubles - see some multi-objective techniques where it is a std::pair of doubles ...
It has to have a < operator it you want to call an existing selector (see selector.h) - but of course you can write the whole thing ...
Definition at line 51 of file eoSelectFromWorth.h.
1.3.9.1