PPL Logo

TwoLevelTree Class Reference
[Charm++ Load Balancing Framework]

#include <HybridBaseLB.h>

Inheritance diagram for TwoLevelTree:

Inheritance graph
[legend]
Collaboration diagram for TwoLevelTree:

Collaboration graph
[legend]

Public Member Functions

 TwoLevelTree ()
virtual ~TwoLevelTree ()
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 53 of file HybridBaseLB.h.


Constructor & Destructor Documentation

TwoLevelTree::TwoLevelTree (  )  [inline]

Definition at line 57 of file HybridBaseLB.h.

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

Here is the call graph for this function:

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

Definition at line 64 of file HybridBaseLB.h.

References MyHierarchyTree::span.


Member Function Documentation

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

Implements MyHierarchyTree.

Definition at line 65 of file HybridBaseLB.h.

References toproot.

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

Implements MyHierarchyTree.

Definition at line 71 of file HybridBaseLB.h.

References toproot.

Referenced by getChildren().

Here is the caller graph for this function:

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

Implements MyHierarchyTree.

Definition at line 76 of file HybridBaseLB.h.

References Converse::CkNumPes().

Referenced by getChildren().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements MyHierarchyTree.

Definition at line 82 of file HybridBaseLB.h.

References isroot(), and numChildren().

Here is the call graph for this function:


Field Documentation

Definition at line 55 of file HybridBaseLB.h.

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


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

Generated on Mon Sep 21 08:31:34 2020 for Charm++ by  doxygen 1.5.5