Subgraph Class Reference

A sub-graph of the mesh. More...

#include <Subgraph.h>

List of all members.

Classes

struct  tmpEdge

Public Types

typedef nodesTy::iterator iterator
typedef edgesTy::iterator edge_iterator

Public Member Functions

 Subgraph (Galois::PerIterAllocTy &cnx)
bool containsNode (GNode N)
void addNode (GNode n)
void addEdge (tmpEdge e)
void addEdge (GNode src, GNode dst, const Edge &e)
void reset ()
iterator begin ()
iterator end ()
edge_iterator edge_begin ()
edge_iterator edge_end ()

Private Types

typedef std::vector< GNode,
Galois::PerIterAllocTy::rebind
< GNode >::other > 
nodesTy
typedef std::vector< tmpEdge,
Galois::PerIterAllocTy::rebind
< tmpEdge >::other > 
edgesTy

Private Attributes

nodesTy nodes
edgesTy edges

Detailed Description

A sub-graph of the mesh.

Used to store information about the original and updated cavity


Member Typedef Documentation

typedef edgesTy::iterator Subgraph::edge_iterator
typedef std::vector<tmpEdge,Galois::PerIterAllocTy::rebind<tmpEdge>::other> Subgraph::edgesTy [private]
typedef nodesTy::iterator Subgraph::iterator
typedef std::vector<GNode,Galois::PerIterAllocTy::rebind<GNode>::other> Subgraph::nodesTy [private]

Constructor & Destructor Documentation

Subgraph::Subgraph ( Galois::PerIterAllocTy cnx  )  [inline, explicit]

Member Function Documentation

void Subgraph::addEdge ( GNode  src,
GNode  dst,
const Edge e 
) [inline]
void Subgraph::addEdge ( tmpEdge  e  )  [inline]
void Subgraph::addNode ( GNode  n  )  [inline]
iterator Subgraph::begin (  )  [inline]
bool Subgraph::containsNode ( GNode  N  )  [inline]
edge_iterator Subgraph::edge_begin (  )  [inline]
edge_iterator Subgraph::edge_end (  )  [inline]
iterator Subgraph::end (  )  [inline]
void Subgraph::reset (  )  [inline]

Member Data Documentation


The documentation for this class was generated from the following file:
Generated on Tue Aug 2 11:51:28 2011 for Galois by  doxygen 1.6.3