A sub-graph of the mesh. More...
#include <Subgraph.h>
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 |
A sub-graph of the mesh.
Used to store information about the original and updated cavity
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] |
Subgraph::Subgraph | ( | Galois::PerIterAllocTy & | cnx | ) | [inline, explicit] |
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] |
edgesTy Subgraph::edges [private] |
nodesTy Subgraph::nodes [private] |