PPL Logo

Vertex Struct Reference
[Charm++ Load Balancing Framework]

#include <ckgraph.h>

Collaboration diagram for Vertex:

Collaboration graph
[legend]

Public Member Functions

 Vertex ()
 Vertex (int i, double cl, bool mig, int curpe, int newpe=-1)
int getVertexId ()
double getVertexLoad ()
int getCurrentPe ()
int getNewPe ()
void setNewPe (int _newpe)
bool isMigratable ()

Data Fields

std::vector< EdgesendToList
std::vector< EdgerecvFromList
std::vector< McastSrcmcastToList
std::vector< McastDestmcastFromList
int degree
int next
int adjListInd

Private Attributes

int id
double compLoad
bool migratable
int currPe
int newPe

Friends

class ObjGraph

Detailed Description

Definition at line 124 of file ckgraph.h.


Constructor & Destructor Documentation

Vertex::Vertex (  )  [inline]

Definition at line 128 of file ckgraph.h.

Vertex::Vertex ( int  i,
double  cl,
bool  mig,
int  curpe,
int  newpe = -1 
) [inline]

Definition at line 129 of file ckgraph.h.


Member Function Documentation

int Vertex::getVertexId (  )  [inline]

Definition at line 130 of file ckgraph.h.

References id.

Referenced by adjustgain(), adjustqueues(), BQueue::push(), RecursiveBiPart(), and BQueue::removeComplete().

double Vertex::getVertexLoad (  )  [inline]

Definition at line 131 of file ckgraph.h.

References compLoad.

Referenced by ObjLoadGreater::operator()(), and RecursiveBiPart().

int Vertex::getCurrentPe (  )  [inline]

Definition at line 132 of file ckgraph.h.

References currPe.

int Vertex::getNewPe (  )  [inline]

Definition at line 133 of file ckgraph.h.

References newPe.

void Vertex::setNewPe ( int  _newpe  )  [inline]

Definition at line 134 of file ckgraph.h.

References newPe.

bool Vertex::isMigratable (  )  [inline]

Definition at line 135 of file ckgraph.h.

References migratable.


Friends And Related Function Documentation

friend class ObjGraph [friend]

Definition at line 125 of file ckgraph.h.


Field Documentation

std::vector<Edge> Vertex::sendToList

Definition at line 138 of file ckgraph.h.

Referenced by adjustqueues(), RecursiveBiPart(), and removeinSwap().

std::vector<Edge> Vertex::recvFromList

Definition at line 139 of file ckgraph.h.

Referenced by adjustqueues(), RecursiveBiPart(), and removeinSwap().

Definition at line 140 of file ckgraph.h.

Definition at line 141 of file ckgraph.h.

int Vertex::id [private]

Definition at line 144 of file ckgraph.h.

Referenced by getVertexId().

Definition at line 145 of file ckgraph.h.

Referenced by getVertexLoad().

Definition at line 146 of file ckgraph.h.

Referenced by isMigratable().

int Vertex::currPe [private]

Definition at line 147 of file ckgraph.h.

Referenced by getCurrentPe().

int Vertex::newPe [private]

Definition at line 148 of file ckgraph.h.

Referenced by getNewPe(), and setNewPe().

Definition at line 10 of file graphdefs.h.

Referenced by addEdge(), addspEdge(), countDegrees(), fillAdjArray(), and initGraph().


The documentation for this struct was generated from the following files:

Generated on Fri May 25 08:05:55 2012 for Charm++ by  doxygen 1.5.5