changa  3.5
 All Classes Files Functions Variables Typedefs Enumerations Friends Macros Groups Pages
Public Member Functions | List of all members
LocalTargetWalk Class Reference

#include <TreeWalk.h>

Inheritance diagram for LocalTargetWalk:
TreeWalk

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 ()
 
- Public Member Functions inherited from TreeWalk
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 ()
 
WalkType getSelfType ()
 

Additional Inherited Members

- Protected Member Functions inherited from TreeWalk
 TreeWalk (Compute *_comp, TreePiece *tp, WalkType _type)
 
 TreeWalk (WalkType t)
 
- Protected Attributes inherited from TreeWalk
Computecomp
 
TreePieceownerTP
 
WalkType type
 

Detailed Description

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.

Member Function Documentation

void LocalTargetWalk::walk ( GenericTreeNode startAncestor,
State state,
int  chunk,
int  reqID,
int  awi 
)
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.


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