PPL Logo

Edge Struct Reference
[Charm++ Load Balancing Framework]

#include <ckgraph.h>

Collaboration diagram for Edge:

Collaboration graph
[legend]

Public Member Functions

 Edge (int _id, int _msgs, int _bytes)
 ~Edge ()
int getNeighborId ()
int getNumMsgs ()
int getNumBytes ()
void setNumBytes (int _bytes)

Data Fields

int node1
int node2

Private Attributes

int id
int msgs
int bytes

Friends

class ObjGraph

Detailed Description

Definition at line 59 of file ckgraph.h.


Constructor & Destructor Documentation

Edge::Edge ( int  _id,
int  _msgs,
int  _bytes 
) [inline]

Definition at line 63 of file ckgraph.h.

Edge::~Edge (  )  [inline]

Definition at line 66 of file ckgraph.h.


Member Function Documentation

int Edge::getNeighborId (  )  [inline]

Definition at line 67 of file ckgraph.h.

References id.

int Edge::getNumMsgs (  )  [inline]

Definition at line 68 of file ckgraph.h.

References msgs.

int Edge::getNumBytes (  )  [inline]

Definition at line 69 of file ckgraph.h.

References bytes.

Referenced by adjustqueues(), and removeinSwap().

Here is the caller graph for this function:

void Edge::setNumBytes ( int  _bytes  )  [inline]

Definition at line 70 of file ckgraph.h.

References bytes.


Friends And Related Function Documentation

friend class ObjGraph [friend]

Definition at line 60 of file ckgraph.h.


Field Documentation

int Edge::id [private]

Definition at line 73 of file ckgraph.h.

Referenced by getNeighborId().

int Edge::msgs [private]

Definition at line 75 of file ckgraph.h.

Referenced by getNumMsgs().

int Edge::bytes [private]

Definition at line 76 of file ckgraph.h.

Referenced by getNumBytes(), and setNumBytes().

Definition at line 3 of file graphdefs.h.

Referenced by countDegrees(), and fillAdjArray().

Definition at line 3 of file graphdefs.h.

Referenced by countDegrees(), and fillAdjArray().


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

Generated on Mon Sep 21 08:22:42 2020 for Charm++ by  doxygen 1.5.5