changa 3.5
Loading...
Searching...
No Matches
TreeWalk Class Referenceabstract

Base class for walking trees. More...

#include <TreeWalk.h>

Inheritance diagram for TreeWalk:
BottomUpTreeWalk LocalTargetWalk TopDownTreeWalk

Public Member Functions

TreePiecegetOwnerTP ()
 
ComputegetCompute ()
 
virtual void init (Compute *c, TreePiece *owner)
 Associate a compute object and a treepiece with this walk.
 
void reassoc (Compute *c)
 
virtual void reset ()
 
virtual void walk (GenericTreeNode *node, State *state, int chunk, int reqID, int activeWalkIndex)=0
 
virtual void resumeWalk (GenericTreeNode *node, State *state, int chunk, int reqID, int activeWalkIndex)
 
WalkType getSelfType ()
 

Protected Member Functions

 TreeWalk (Compute *_comp, TreePiece *tp, WalkType _type)
 
 TreeWalk (WalkType t)
 

Protected Attributes

Computecomp
 
TreePieceownerTP
 
WalkType type
 

Detailed Description

Base class for walking trees.

Member Function Documentation

◆ walk()

virtual void TreeWalk::walk ( GenericTreeNode * node,
State * state,
int chunk,
int reqID,
int activeWalkIndex )
pure virtual

Implemented in BottomUpTreeWalk, and LocalTargetWalk.


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