|
EvolvingObjects
|
Wrapper for binop: here we use select method of eoPopulator but we could also have an embedded selector to select the second parent. More...
#include <eoGenOp.h>
Public Member Functions | |
| eoBinGenOp (eoBinOp< EOT > &_op) | |
| unsigned | max_production (void) |
| Max production is used to reserve space for all elements that are used by the operator, not setting it properly can result in a crash. | |
| void | apply (eoPopulator< EOT > &_pop) |
| do the work: get 2 individuals from the population, modifies only one (it's a eoBinOp) | |
| virtual std::string | className () const |
Private Attributes | |
| eoBinOp< EOT > & | op |
Wrapper for binop: here we use select method of eoPopulator but we could also have an embedded selector to select the second parent.