Public Member Functions

Tree::Primitives::SubT< T > Class Template Reference
[TreeGenotypesTree Primitives]

Sub function primitive (Tree genotype). More...

#include <Sub.h>

Inheritance diagram for Tree::Primitives::SubT< T >:
Tree::Primitives::Primitive

List of all members.

Public Member Functions

void execute (void *result, Tree &tree)
 Execute the primitive.

Detailed Description

template<class T>
class Tree::Primitives::SubT< T >

Sub function primitive (Tree genotype).

Definition at line 13 of file Sub.h.


Member Function Documentation

template<class T >
void Tree::Primitives::SubT< T >::execute ( void *  result,
Tree tree 
) [virtual]

Execute the primitive.

Function primitives gather arguments and return a value; terminal primitives return current value.

Implements Tree::Primitives::Primitive.

Definition at line 37 of file Sub.h.


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