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, size_t pupsize=0)
int getVertexId ()
double getVertexLoad () const
int getCurrentPe ()
int getNewPe ()
void setNewPe (int _newpe)
bool isMigratable ()
double getCompLoad ()
void setCompLoad (double s)
int getCurrPe ()
void setCurrPe (int s)

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
size_t pupSize

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,
size_t  pupsize = 0 
) [inline]

Definition at line 129 of file ckgraph.h.


Member Function Documentation

int Vertex::getVertexId (  )  [inline]

Definition at line 132 of file ckgraph.h.

References id.

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

Here is the caller graph for this function:

double Vertex::getVertexLoad (  )  const [inline]

int Vertex::getCurrentPe (  )  [inline]

Definition at line 134 of file ckgraph.h.

References currPe.

int Vertex::getNewPe (  )  [inline]

Definition at line 135 of file ckgraph.h.

References newPe.

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

Definition at line 136 of file ckgraph.h.

References newPe.

bool Vertex::isMigratable (  )  [inline]

Definition at line 137 of file ckgraph.h.

References migratable.

double Vertex::getCompLoad (  )  [inline]

Definition at line 144 of file ckgraph.h.

References compLoad.

void Vertex::setCompLoad ( double  s  )  [inline]

Definition at line 145 of file ckgraph.h.

References compLoad.

int Vertex::getCurrPe (  )  [inline]

Definition at line 146 of file ckgraph.h.

References currPe.

void Vertex::setCurrPe ( int  s  )  [inline]

Definition at line 147 of file ckgraph.h.

References currPe.


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 140 of file ckgraph.h.

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

std::vector<Edge> Vertex::recvFromList

Definition at line 141 of file ckgraph.h.

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

Definition at line 142 of file ckgraph.h.

Definition at line 143 of file ckgraph.h.

int Vertex::id [private]

Definition at line 151 of file ckgraph.h.

Referenced by getVertexId().

double Vertex::compLoad [private]

Definition at line 152 of file ckgraph.h.

Referenced by getCompLoad(), getVertexLoad(), and setCompLoad().

Definition at line 153 of file ckgraph.h.

Referenced by isMigratable().

int Vertex::currPe [private]

Definition at line 154 of file ckgraph.h.

Referenced by getCurrentPe(), getCurrPe(), and setCurrPe().

int Vertex::newPe [private]

Definition at line 155 of file ckgraph.h.

Referenced by getNewPe(), and setNewPe().

Definition at line 156 of file ckgraph.h.

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 Mon Sep 21 08:31:39 2020 for Charm++ by  doxygen 1.5.5