#include <HybridBaseLB.h>
Public Member Functions | |
MyHierarchyTree () | |
virtual | ~MyHierarchyTree () |
const char * | name () const |
virtual int | numLevels () const |
virtual int | parent (int mype, int level)=0 |
virtual bool | isroot (int mype, int level)=0 |
virtual int | numChildren (int mype, int level)=0 |
virtual void | getChildren (int mype, int level, int *children, int &count)=0 |
virtual int | numNodes (int level) |
Protected Attributes | |
int * | span |
int | nLevels |
const char * | myname |
Definition at line 26 of file HybridBaseLB.h.
MyHierarchyTree::MyHierarchyTree | ( | ) | [inline] |
Definition at line 32 of file HybridBaseLB.h.
virtual MyHierarchyTree::~MyHierarchyTree | ( | ) | [inline, virtual] |
Definition at line 33 of file HybridBaseLB.h.
const char* MyHierarchyTree::name | ( | ) | const [inline] |
Definition at line 34 of file HybridBaseLB.h.
References myname.
Referenced by HybridBaseLB::HybridBaseLB().
virtual int MyHierarchyTree::numLevels | ( | ) | const [inline, virtual] |
Definition at line 35 of file HybridBaseLB.h.
References nLevels.
Referenced by HybridBaseLB::buildCombinedLBStatsMessage(), HybridBaseLB::FindNeighbors(), HybridBaseLB::Loadbalancing(), HybridBaseLB::MigrationDone(), HybridBaseLB::printSummary(), and HybridBaseLB::reportLBMem().
Implemented in TwoLevelTree, ThreeLevelTree, FourLevelTree, and KLevelTree.
Referenced by HybridBaseLB::FindNeighbors().
Implemented in TwoLevelTree, ThreeLevelTree, FourLevelTree, and KLevelTree.
Referenced by HybridBaseLB::FindNeighbors(), HybridBaseLB::initTree(), HybridBaseLB::Loadbalancing(), and HybridBaseLB::ReceiveStats().
Implemented in TwoLevelTree, ThreeLevelTree, FourLevelTree, and KLevelTree.
Referenced by HybridBaseLB::FindNeighbors(), and HybridBaseLB::initTree().
virtual void MyHierarchyTree::getChildren | ( | int | mype, | |
int | level, | |||
int * | children, | |||
int & | count | |||
) | [pure virtual] |
Implemented in TwoLevelTree, ThreeLevelTree, FourLevelTree, and KLevelTree.
Referenced by HybridBaseLB::FindNeighbors(), and HybridBaseLB::initTree().
Definition at line 40 of file HybridBaseLB.h.
References Converse::CkNumPes(), count, nLevels, and span.
Referenced by HybridBaseLB::reportLBMem(), and HybridBaseLB::reportLBQulity().
int* MyHierarchyTree::span [protected] |
Definition at line 28 of file HybridBaseLB.h.
Referenced by FourLevelTree::FourLevelTree(), KLevelTree::getChildren(), FourLevelTree::getChildren(), ThreeLevelTree::getChildren(), KLevelTree::isroot(), FourLevelTree::isroot(), ThreeLevelTree::isroot(), KLevelTree::KLevelTree(), KLevelTree::numChildren(), FourLevelTree::numChildren(), ThreeLevelTree::numChildren(), numNodes(), KLevelTree::parent(), FourLevelTree::parent(), ThreeLevelTree::parent(), ThreeLevelTree::ThreeLevelTree(), TwoLevelTree::TwoLevelTree(), FourLevelTree::~FourLevelTree(), KLevelTree::~KLevelTree(), ThreeLevelTree::~ThreeLevelTree(), and TwoLevelTree::~TwoLevelTree().
int MyHierarchyTree::nLevels [protected] |
Definition at line 29 of file HybridBaseLB.h.
Referenced by FourLevelTree::FourLevelTree(), KLevelTree::getChildren(), KLevelTree::isroot(), KLevelTree::KLevelTree(), numLevels(), numNodes(), KLevelTree::parent(), ThreeLevelTree::ThreeLevelTree(), and TwoLevelTree::TwoLevelTree().
const char* MyHierarchyTree::myname [protected] |
Definition at line 30 of file HybridBaseLB.h.
Referenced by FourLevelTree::FourLevelTree(), KLevelTree::KLevelTree(), name(), ThreeLevelTree::ThreeLevelTree(), and TwoLevelTree::TwoLevelTree().