#include <gp/eoStParseTreeOp.h>
Inheritance diagram for eoStBranchMutation< FType, Node >:

Public Types | |
|
typedef eoParseTree< FType, Node > | EoType |
Public Member Functions | |
| eoStBranchMutation (eoInit< EoType > &_init, unsigned _max_length) | |
| Constructor. | |
| virtual std::string | className () const |
| the class name | |
| virtual | ~eoStBranchMutation () |
| Dtor. | |
| bool | operator() (EoType &_eo1) |
| Mutate an individual. | |
Private Attributes | |
| unsigned | max_length |
| eoInit< EoType > & | initializer |
Definition at line 130 of file eoStParseTreeOp.h.
| eoStBranchMutation< FType, Node >::eoStBranchMutation | ( | eoInit< EoType > & | _init, | |
| unsigned | _max_length | |||
| ) | [inline] |
Constructor.
| _init | An instantiation of eoGpDepthInitializer | |
| _max_length | the maximum size of an individual |
Definition at line 140 of file eoStParseTreeOp.h.
| bool eoStBranchMutation< FType, Node >::operator() | ( | EoType & | _eo1 | ) | [inline, virtual] |
Mutate an individual.
| _eo1 | The individual that is to be changed |
Implements eoUF< eoParseTree< FType, Node > &, bool >.
Definition at line 154 of file eoStParseTreeOp.h.
References eoStBranchMutation< FType, Node >::initializer, eoRng::random(), and gp_parse_tree::parse_tree< T >::size().
1.4.7