eoStPointMutation< FType, Node > Class Template Reference
[StParseTree]

eoStPointMutation --> replace a Node with a Node of the same arity and type More...

#include <gp/eoStParseTreeOp.h>

Inheritance diagram for eoStPointMutation< FType, Node >:

eoMonOp< eoParseTree< FType, Node > > eoOp< eoParseTree< FType, Node > > eoUF< eoParseTree< FType, Node > &, bool > eoFunctorBase

List of all members.

Public Types

typedef eoParseTree< FType, Node > EoType

Public Member Functions

 eoStPointMutation (std::vector< Node > &_node)
 Constructor.
virtual std::string className () const
 the class name
virtual ~eoStPointMutation ()
 Dtor.
bool operator() (EoType &_eo1)
 Mutate an individual.

Private Attributes

std::map< int, std::map< int,
std::vector< Node > > > 
node


Detailed Description

template<class FType, class Node>
class eoStPointMutation< FType, Node >

eoStPointMutation --> replace a Node with a Node of the same arity and type

Definition at line 198 of file eoStParseTreeOp.h.


Constructor & Destructor Documentation

template<class FType, class Node>
eoStPointMutation< FType, Node >::eoStPointMutation ( std::vector< Node > &  _node  )  [inline]

Constructor.

Parameters:
_initializor The std::vector of Nodes given to the eoGpDepthInitializer

Definition at line 208 of file eoStParseTreeOp.h.


Member Function Documentation

template<class FType, class Node>
bool eoStPointMutation< FType, Node >::operator() ( EoType _eo1  )  [inline]

Mutate an individual.

Parameters:
_eo1 The individual that is to be changed

Definition at line 237 of file eoStParseTreeOp.h.

References eoRng::random().


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:51 2009 for EvolvingObjects by  doxygen 1.5.5