#include <HybridBaseLB.h>
Inheritance diagram for ThreeLevelTree:


Public Member Functions | |
| ThreeLevelTree () | |
| virtual | ~ThreeLevelTree () |
| virtual int | numLevels () |
| virtual int | parent (int mype, int level) |
| virtual int | isroot (int mype, int level) |
| virtual int | numChildren (int mype, int level) |
| virtual void | getChildren (int mype, int level, int *children, int &count) |
| virtual int | numNodes (int level) |
Private Attributes | |
| int | span [2] |
| int | toproot |
| int | nLevels |
Definition at line 49 of file HybridBaseLB.h.
| ThreeLevelTree::ThreeLevelTree | ( | ) | [inline] |
Definition at line 55 of file HybridBaseLB.h.
References Converse::CkNumPes(), nLevels, span, and toproot.
| virtual ThreeLevelTree::~ThreeLevelTree | ( | ) | [inline, virtual] |
Definition at line 63 of file HybridBaseLB.h.
| virtual int ThreeLevelTree::numLevels | ( | ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 72 of file HybridBaseLB.h.
Referenced by getChildren().
Implements MyHierarchyTree.
Definition at line 78 of file HybridBaseLB.h.
References Converse::CkNumPes(), mymin(), and span.
Referenced by getChildren().
| virtual void ThreeLevelTree::getChildren | ( | int | mype, | |
| int | level, | |||
| int * | children, | |||
| int & | count | |||
| ) | [inline, virtual] |
Implements MyHierarchyTree.
Definition at line 85 of file HybridBaseLB.h.
References children, isroot(), numChildren(), and span.
Implements MyHierarchyTree.
Definition at line 98 of file HybridBaseLB.h.
References Converse::CkNumPes(), nLevels, and span.
int ThreeLevelTree::span[2] [private] |
Definition at line 51 of file HybridBaseLB.h.
Referenced by getChildren(), isroot(), numChildren(), numNodes(), parent(), and ThreeLevelTree().
int ThreeLevelTree::toproot [private] |
Definition at line 52 of file HybridBaseLB.h.
Referenced by isroot(), parent(), and ThreeLevelTree().
int ThreeLevelTree::nLevels [private] |
Definition at line 53 of file HybridBaseLB.h.
Referenced by numLevels(), numNodes(), and ThreeLevelTree().
1.5.1