PPL Logo

ThreeLevelTree Class Reference
[Charm++ Load Balancing Framework]

#include <HybridBaseLB.h>

Inheritance diagram for ThreeLevelTree:

Inheritance graph
[legend]
Collaboration diagram for ThreeLevelTree:

Collaboration graph
[legend]

Public Member Functions

 ThreeLevelTree (int groupsize=512)
virtual ~ThreeLevelTree ()
virtual int parent (int mype, int level)
virtual bool isroot (int mype, int level)
virtual int numChildren (int mype, int level)
virtual void getChildren (int mype, int level, int *children, int &count)

Private Attributes

int toproot

Detailed Description

Definition at line 99 of file HybridBaseLB.h.


Constructor & Destructor Documentation

ThreeLevelTree::ThreeLevelTree ( int  groupsize = 512  )  [inline]

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

Definition at line 123 of file HybridBaseLB.h.

References MyHierarchyTree::span.


Member Function Documentation

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

Implements MyHierarchyTree.

Definition at line 124 of file HybridBaseLB.h.

References MyHierarchyTree::span, and toproot.

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

Implements MyHierarchyTree.

Definition at line 131 of file HybridBaseLB.h.

References MyHierarchyTree::span, and toproot.

Referenced by getChildren().

Here is the caller graph for this function:

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

Implements MyHierarchyTree.

Definition at line 137 of file HybridBaseLB.h.

References Converse::CkNumPes(), mymin(), and MyHierarchyTree::span.

Referenced by getChildren().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements MyHierarchyTree.

Definition at line 144 of file HybridBaseLB.h.

References isroot(), numChildren(), and MyHierarchyTree::span.

Here is the call graph for this function:


Field Documentation

Definition at line 101 of file HybridBaseLB.h.

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


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

Generated on Mon Sep 21 08:30:46 2020 for Charm++ by  doxygen 1.5.5