#include <moeoReplacement.h>
Inheritance diagram for moeoDisctinctElitistReplacement< EOT, WorthT >:

Public Member Functions | |
| moeoDisctinctElitistReplacement (eoPerf2Worth< EOT, WorthT > &_perf2worth) | |
| constructor | |
| void | operator() (eoPop< EOT > &_parents, eoPop< EOT > &_offspring) |
| replacement - result in _parents | |
Private Member Functions | |
| void | createNewPop (eoPop< EOT > &_pop, unsigned _size) |
| creation of the new population of size _size | |
Private Attributes | |
| eoPerf2Worth< EOT, WorthT > & | perf2worth |
| the functor object to transform raw fitnesses into fitness for selection | |
Definition at line 78 of file moeoReplacement.h.
| moeoDisctinctElitistReplacement< EOT, WorthT >::moeoDisctinctElitistReplacement | ( | eoPerf2Worth< EOT, WorthT > & | _perf2worth | ) | [inline] |
constructor
| _perf2worth | the functor class to transform raw fitnesses into fitness for selection |
Definition at line 87 of file moeoReplacement.h.
| void moeoDisctinctElitistReplacement< EOT, WorthT >::operator() | ( | eoPop< EOT > & | _parents, | |
| eoPop< EOT > & | _offspring | |||
| ) | [inline, virtual] |
replacement - result in _parents
| _parents | parents population | |
| _offspring | offspring population |
Implements eoBF< eoPop< EOT > &, eoPop< EOT > &, void >.
Definition at line 99 of file moeoReplacement.h.
References moeoDisctinctElitistReplacement< EOT, WorthT >::createNewPop().
| void moeoDisctinctElitistReplacement< EOT, WorthT >::createNewPop | ( | eoPop< EOT > & | _pop, | |
| unsigned | _size | |||
| ) | [inline, private] |
creation of the new population of size _size
| _pop | the initial population (will be modified) | |
| _size | the size of the population to create |
Definition at line 123 of file moeoReplacement.h.
References moeoDisctinctElitistReplacement< EOT, WorthT >::perf2worth, and eoPop< EOT >::swap().
Referenced by moeoDisctinctElitistReplacement< EOT, WorthT >::operator()().
1.5.1