PPL Logo

KLevelTree Class Reference
[Charm++ Load Balancing Framework]

#include <HybridBaseLB.h>

Inheritance diagram for KLevelTree:

Inheritance graph
[legend]
Collaboration diagram for KLevelTree:

Collaboration graph
[legend]

Public Member Functions

 KLevelTree (int k)
virtual ~KLevelTree ()
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
int G

Detailed Description

Definition at line 231 of file HybridBaseLB.h.


Constructor & Destructor Documentation

KLevelTree::KLevelTree ( int  k  )  [inline]

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

Definition at line 253 of file HybridBaseLB.h.

References MyHierarchyTree::span.


Member Function Documentation

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

Implements MyHierarchyTree.

Definition at line 254 of file HybridBaseLB.h.

References MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.

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

Implements MyHierarchyTree.

Definition at line 261 of file HybridBaseLB.h.

References MyHierarchyTree::nLevels, MyHierarchyTree::span, and toproot.

Referenced by getChildren().

Here is the caller graph for this function:

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

Implements MyHierarchyTree.

Definition at line 269 of file HybridBaseLB.h.

References MyHierarchyTree::span.

Referenced by getChildren().

Here is the caller graph for this function:

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

Implements MyHierarchyTree.

Definition at line 273 of file HybridBaseLB.h.

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

Here is the call graph for this function:


Field Documentation

Definition at line 233 of file HybridBaseLB.h.

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

int KLevelTree::G [private]

Definition at line 234 of file HybridBaseLB.h.

Referenced by KLevelTree().


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

Generated on Mon Sep 21 08:26:10 2020 for Charm++ by  doxygen 1.5.5