|
void | execute (void *result, Tree &tree) |
| Execute the primitive. More...
|
|
virtual void | execute (void *result, Tree &tree)=0 |
| Execute the primitive. More...
|
|
virtual bool | initialize (StateP state) |
| Initialize the primitive (default just sets the StateP pointer). More...
|
|
virtual void | setValue (void *value) |
|
virtual void | getValue (void *value) |
|
virtual PrimitiveP | copyWithNode (PrimitiveP) |
| Copy primitive (when copying a node, e.g. in crossover). The default behaviour just returns the same pointer (common primitives). (ERC's should override and make a new copy of the original object). More...
|
|
virtual PrimitiveP | assignToNode (PrimitiveP) |
| Assign primitive to node (when building a tree). The default behaviour just returns the same pointer (common primitives). ERC's should override and generate a new object with a new value. More...
|
|
void | getNextArgument (void *result, Tree &tree) |
| Execute next child node's primitive (execute next subtree). More...
|
|
void | skipNextArgument (Tree &tree) |
| Skip next child subtree (doesn't execute the subtree). More...
|
|
int | getNumberOfArguments () |
| Return primitive's number of arguments. More...
|
|
void | setName (std::string name) |
| Set primitive's name. More...
|
|
std::string | getName () |
| Get primitive's name. More...
|
|
std::string | getComplementName () |
| Get complement's name. More...
|
|
template<class T>
class Tree::Primitives::DivT< T >
Div function primitive (Tree genotype)
Definition at line 16 of file Div.h.