|
EvolvingObjects
|
Quad genetic operator: subclasses eoOp, and defines basically the operator() with two operands, both can be modified. More...
#include <eoProportionalCombinedOp.h>
Public Member Functions | |
| eoPropCombinedQuadOp (eoQuadOp< EOT > &_first, const double _rate) | |
| Ctor from a true operator. | |
| virtual std::string | className () const |
| virtual void | add (eoQuadOp< EOT > &_op, const double _rate) |
| virtual void | printOn (std::ostream &_os) |
| virtual bool | operator() (EOT &_indi1, EOT &_indi2) |
| The pure virtual function that needs to be implemented by the subclass. | |
Private Attributes | |
| std::vector< eoQuadOp< EOT > * > | ops |
| std::vector< double > | rates |
Quad genetic operator: subclasses eoOp, and defines basically the operator() with two operands, both can be modified.
Combined quad genetic operator: operator() has two operands, both can be modified
generic operators are now allowed: there are imbedded into the corresponding "true" operator
Definition at line 177 of file eoProportionalCombinedOp.h.