|
EvolvingObjects
|
Uniform crossover - well, not really, efficient for FixedLength. More...
#include <eoVariableLengthCrossover.h>
Public Member Functions | |
| eoUniformAtomExchange (double _rate=0.5) | |
| void | randomize (unsigned _size1, unsigned _size2) |
| randomize: fill the mask: the exchange will be simulated first to see if sizes are OK, so it must be repeatable : the mask has to be a private data, cannot be computed on the fly | |
| bool | operator() (unsigned _i, Atom &) |
| the operator() simply returns the mask booleans in turn | |
| virtual std::string | className () const |
| inherited className() | |
Private Attributes | |
| double | rate |
| std::vector< bool > | mask |
Uniform crossover - well, not really, efficient for FixedLength.
Definition at line 56 of file eoVariableLengthCrossover.h.