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

Base class for optimizing walk actions. More...

#include <Opt.h>

Inheritance diagram for Opt:
LocalOpt PrefetchOpt PushGravityOpt RemoteOpt SmoothOpt

Public Member Functions

int action (int openDecision, GenericTreeNode *node)
 
OptType getSelfType ()
 

Protected Member Functions

 Opt (OptType _type)
 

Protected Attributes

int action_array [2][NUM_NODE_TYPES+1]
 
OptType type
 

Detailed Description

Base class for optimizing walk actions.

Member Function Documentation

int Opt::action ( int  openDecision,
GenericTreeNode *  node 
)
inline

Key method of Opt: given a opening decision, and a node, return an action to perform. The action will depend on the type of node considered and which walk is being done.


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