FourLevelTree Class Reference
[Charm++ Load Balancing Framework]

#include <HybridBaseLB.h>

Inheritance diagram for FourLevelTree:

Inheritance graph
[legend]
Collaboration diagram for FourLevelTree:

Collaboration graph
[legend]

Public Member Functions

 FourLevelTree ()
virtual ~FourLevelTree ()
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 [3]
int toproot
int nLevels

Detailed Description

Definition at line 115 of file HybridBaseLB.h.


Constructor & Destructor Documentation

FourLevelTree::FourLevelTree (  )  [inline]

Definition at line 121 of file HybridBaseLB.h.

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

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

Definition at line 135 of file HybridBaseLB.h.


Member Function Documentation

virtual int FourLevelTree::numLevels (  )  [inline, virtual]

Implements MyHierarchyTree.

Definition at line 136 of file HybridBaseLB.h.

References nLevels.

virtual int FourLevelTree::parent ( int  mype,
int  level 
) [inline, virtual]

Implements MyHierarchyTree.

Definition at line 137 of file HybridBaseLB.h.

References span, and toproot.

virtual int FourLevelTree::isroot ( int  mype,
int  level 
) [inline, virtual]

Implements MyHierarchyTree.

Definition at line 145 of file HybridBaseLB.h.

References span, and toproot.

Referenced by getChildren().

virtual int FourLevelTree::numChildren ( int  mype,
int  level 
) [inline, virtual]

Implements MyHierarchyTree.

Definition at line 152 of file HybridBaseLB.h.

References span.

Referenced by getChildren().

virtual void FourLevelTree::getChildren ( int  mype,
int  level,
int children,
int count 
) [inline, virtual]

Implements MyHierarchyTree.

Definition at line 160 of file HybridBaseLB.h.

References children, isroot(), numChildren(), and span.

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

Implements MyHierarchyTree.

Definition at line 177 of file HybridBaseLB.h.

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


Field Documentation

int FourLevelTree::span[3] [private]

Definition at line 117 of file HybridBaseLB.h.

Referenced by FourLevelTree(), getChildren(), isroot(), numChildren(), numNodes(), and parent().

int FourLevelTree::toproot [private]

Definition at line 118 of file HybridBaseLB.h.

Referenced by FourLevelTree(), isroot(), and parent().

int FourLevelTree::nLevels [private]

Definition at line 119 of file HybridBaseLB.h.

Referenced by FourLevelTree(), numLevels(), and numNodes().


The documentation for this class was generated from the following file:
Generated on Sun Jun 29 13:33:26 2008 for Charm++ by  doxygen 1.5.1