PPL Logo

MyHierarchyTree Class Reference
[Charm++ Load Balancing Framework]

#include <HybridBaseLB.h>

Inheritance diagram for MyHierarchyTree:

Inheritance graph
[legend]
Collaboration diagram for MyHierarchyTree:

Collaboration graph
[legend]

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

intspan
int nLevels
const char * myname

Detailed Description

Definition at line 26 of file HybridBaseLB.h.


Constructor & Destructor Documentation

MyHierarchyTree::MyHierarchyTree (  )  [inline]

Definition at line 32 of file HybridBaseLB.h.

virtual MyHierarchyTree::~MyHierarchyTree (  )  [inline, virtual]

Definition at line 33 of file HybridBaseLB.h.


Member Function Documentation

const char* MyHierarchyTree::name (  )  const [inline]

Definition at line 34 of file HybridBaseLB.h.

References myname.

Referenced by HybridBaseLB::HybridBaseLB().

Here is the caller graph for this function:

virtual int MyHierarchyTree::numLevels (  )  const [inline, virtual]

virtual int MyHierarchyTree::parent ( int  mype,
int  level 
) [pure virtual]

Implemented in TwoLevelTree, ThreeLevelTree, FourLevelTree, and KLevelTree.

Referenced by HybridBaseLB::FindNeighbors().

Here is the caller graph for this function:

virtual bool MyHierarchyTree::isroot ( int  mype,
int  level 
) [pure virtual]

virtual int MyHierarchyTree::numChildren ( int  mype,
int  level 
) [pure virtual]

Implemented in TwoLevelTree, ThreeLevelTree, FourLevelTree, and KLevelTree.

Referenced by HybridBaseLB::FindNeighbors(), and HybridBaseLB::initTree().

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

virtual int MyHierarchyTree::numNodes ( int  level  )  [inline, virtual]

Definition at line 40 of file HybridBaseLB.h.

References Converse::CkNumPes(), count, nLevels, and span.

Referenced by HybridBaseLB::reportLBMem(), and HybridBaseLB::reportLBQulity().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

int* MyHierarchyTree::span [protected]

const char* MyHierarchyTree::myname [protected]


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

Generated on Mon Sep 21 08:27:51 2020 for Charm++ by  doxygen 1.5.5