PPL Logo

ObjGraph Class Reference
[Charm++ Load Balancing Framework]

#include <ckgraph.h>

Inheritance diagram for ObjGraph:

Inheritance graph
[legend]
Collaboration diagram for ObjGraph:

Collaboration graph
[legend]

Public Member Functions

 ObjGraph (BaseLB::LDStats *stats)
 ~ObjGraph ()
void convertDecisions (BaseLB::LDStats *stats)
 ObjGraph (int count, BaseLB::LDStats *stats)
 ~ObjGraph ()
int NodeCount ()
int EdgeCount ()
NodeStart ()
Node GraphNode (int i)
double LoadOf (int i)
double EdgeWeight (Edge *e)

Data Fields

std::vector< Vertexvertices

Private Types

enum  { hash_max = 256 }

Private Member Functions

int calc_hashval (LDOMid, CmiUInt8)
Nodefind_node (const LDObjKey &)

Private Attributes

Edgeedgelist
Nodenode_table [hash_max]
int n_objs
int n_edges
Nodenodelist
BaseLB::LDStatsstats

Data Structures

class  Edge
class  Node

Detailed Description

Definition at line 160 of file ckgraph.h.


Member Enumeration Documentation

anonymous enum [private]

Enumerator:
hash_max 

Definition at line 71 of file ObjGraph.h.


Constructor & Destructor Documentation

ObjGraph::~ObjGraph (  ) 


Member Function Documentation

int ObjGraph::NodeCount (  )  [inline]

Definition at line 57 of file ObjGraph.h.

References n_objs.

Referenced by RecBisectBfLB::convertGraph().

Here is the caller graph for this function:

int ObjGraph::EdgeCount (  )  [inline]

Definition at line 58 of file ObjGraph.h.

References n_edges.

Referenced by RecBisectBfLB::convertGraph().

Here is the caller graph for this function:

Node* ObjGraph::Start (  )  [inline]

Definition at line 59 of file ObjGraph.h.

References nodelist.

Node ObjGraph::GraphNode ( int  i  )  [inline]

Definition at line 60 of file ObjGraph.h.

References nodelist.

Referenced by RecBisectBfLB::convertGraph(), LoadOf(), and RecBisectBfLB::work().

Here is the caller graph for this function:

double ObjGraph::LoadOf ( int  i  )  [inline]

Definition at line 62 of file ObjGraph.h.

References GraphNode(), ObjGraph::Node::index, index, and n.

Referenced by RecBisectBfLB::convertGraph().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

std::vector<Vertex> ObjGraph::vertices

Definition at line 76 of file ObjGraph.h.

Referenced by ObjGraph().

Node* ObjGraph::node_table[hash_max] [private]

Definition at line 77 of file ObjGraph.h.

Referenced by find_node(), and ObjGraph().

int ObjGraph::n_objs [private]

Definition at line 79 of file ObjGraph.h.

Referenced by NodeCount(), and ObjGraph().

Definition at line 80 of file ObjGraph.h.

Referenced by EdgeCount(), and ObjGraph().

Definition at line 81 of file ObjGraph.h.

Referenced by GraphNode(), ObjGraph(), and Start().

Definition at line 82 of file ObjGraph.h.


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

Generated on Mon Sep 21 08:28:14 2020 for Charm++ by  doxygen 1.5.5