#include <TreeWalk.h>
Public Member Functions | |
LocalTargetWalk (Compute *_comp, TreePiece *tp) | |
void | walk (GenericTreeNode *startAncestor, State *state, int chunk, int reqID, int awi) |
void | resumeWalk (GenericTreeNode *node, State *state, int chunk, int reqID, int activeWalkIndex) |
NodeKey | getTargetKey () |
![]() | |
TreePiece * | getOwnerTP () |
Compute * | getCompute () |
virtual void | init (Compute *c, TreePiece *owner) |
Associate a compute object and a treepiece with this walk. | |
void | reassoc (Compute *c) |
virtual void | reset () |
WalkType | getSelfType () |
Additional Inherited Members | |
![]() | |
TreeWalk (Compute *_comp, TreePiece *tp, WalkType _type) | |
TreeWalk (WalkType t) | |
![]() | |
Compute * | comp |
TreePiece * | ownerTP |
WalkType | type |
Traverses local tree instead of global one. Heads towards a target local bucket until told to DUMP. The class is used in the local tree part of the double (interaction list) walk. It is given a new target node and a DoubleWalkState object whose checklists and undecidedlists it uses while walking down toward the new target node. When it returns, the walk function will have modified the state object to reflect what the next target bucket should be.
|
virtual |
LocalTargetWalk functions.This walk interprets what is otherwise the 'reqID' argument as the targetBucketIndex It can only be called from the calculateGravityRemote/startNextBucket
Implements TreeWalk.