In file code/C/eval_state.H:

class GHostState : public GObject

The state of evaluation of the program on a host

Inheritance:


public members:

GArray < GEvalState > host_state
The stack of GEvalStates that represents the tree evaluation
GHostState( GOperator *anode_ptr)
~GHostState()
void Add( GOperator *anode_ptr)
Add the given operator to the states
int EvaluateTick( GModel *model, int node)
Evaluates one instruction and returns 1 if more work, or 0 if the top node has evaluated completely

Inherited from GObject:

public members:

friend ostream& operator<<(ostream& s, GObject &)

Documentation

The state of evaluation of the program on a host
int EvaluateTick ( GModel *model, int node)
This function provides the logic necessary to process the node at the top of the stack. If the arguments to the function are incomplete then the node pushes on the child, if the arguments are complete then the node pops the stack and placed its return value in the new top of the stack. If the stack is empty, then the program has been completely evaluated.


this class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling