EvolvingObjects
|
eoPointMutation --> replace a Node with a Node of the same arity More...
#include <gp/eoParseTreeOp.h>
Public Types | |
typedef eoParseTree< FType, Node > | EoType |
Public Member Functions | |
eoPointMutation (std::vector< Node > &_initializor) | |
Constructor. | |
virtual std::string | className () const |
the class name | |
virtual | ~eoPointMutation () |
Dtor. | |
bool | operator() (EoType &_eo1) |
Mutate an individual. | |
Private Attributes | |
std::vector< Node > & | initializor |
eoPointMutation --> replace a Node with a Node of the same arity
Definition at line 147 of file eoParseTreeOp.h.
eoPointMutation< FType, Node >::eoPointMutation | ( | std::vector< Node > & | _initializor | ) | [inline] |
Constructor.
_initializor | The std::vector of Nodes given to the eoGpDepthInitializer |
Definition at line 157 of file eoParseTreeOp.h.
bool eoPointMutation< FType, Node >::operator() | ( | EoType & | _eo1 | ) | [inline] |
Mutate an individual.
_eo1 | The individual that is to be changed |
Definition at line 171 of file eoParseTreeOp.h.
References eoRng::random().