Public Member Functions | |
bool | initialize (StateP state) |
Initialize value(s). | |
void | execute (void *result, Tree::Tree &tree) |
Execute the primitive. | |
Tree::PrimitiveP | copyWithNode (Tree::PrimitiveP primitive) |
Tree::PrimitiveP | assignToNode (Tree::PrimitiveP primitive) |
Create (or choose) new unique ERC value and assign to tree node. | |
Public Attributes | |
int | times_ |
double | loopResults [MAXITER] |
Definition at line 9 of file main.cpp.
Tree::PrimitiveP Loop::assignToNode | ( | Tree::PrimitiveP | primitive | ) | [inline] |
void Loop::execute | ( | void * | result, | |
Tree::Tree & | tree | |||
) | [inline, virtual] |
Execute the primitive.
Function primitives gather arguments and return a value; terminal primitives return current value.
Implements Tree::Primitives::Primitive.