atlas  0.6
Public Member Functions | Private Member Functions | Private Attributes | List of all members
atlas::graph::OrientedGraph Class Reference

#include <graph.h>

Public Member Functions

 OrientedGraph ()
 
 OrientedGraph (size_t n)
 
void swap (OrientedGraph &other)
 
void cells (partition::Partition &, OrientedGraph *p=0) const
 
Vertex edge (Vertex x, size_t j) const
 
const EdgeList & edgeList (const Vertex &x) const
 
size_t size () const
 
Vertex & edge (Vertex x, size_t j)
 
EdgeList & edgeList (const Vertex &x)
 
Vertex newVertex ()
 
void reset ()
 
void resize (size_t n)
 
void reverseEdges ()
 
void reverseNumbering ()
 

Private Member Functions

void addLinks (const std::vector< const EdgeList * > &out, const partition::Partition &pi)
 

Private Attributes

std::vector< EdgeList > d_edges
 

Constructor & Destructor Documentation

atlas::graph::OrientedGraph::OrientedGraph ( )
inline
atlas::graph::OrientedGraph::OrientedGraph ( size_t  n)
inlineexplicit

Member Function Documentation

void atlas::graph::OrientedGraph::addLinks ( const std::vector< const EdgeList * > &  out,
const partition::Partition &  pi 
)
private
void atlas::graph::OrientedGraph::cells ( partition::Partition &  pi,
OrientedGraph *  p = 0 
) const
Vertex atlas::graph::OrientedGraph::edge ( Vertex  x,
size_t  j 
) const
inline
Vertex& atlas::graph::OrientedGraph::edge ( Vertex  x,
size_t  j 
)
inline
const EdgeList& atlas::graph::OrientedGraph::edgeList ( const Vertex &  x) const
inline
EdgeList& atlas::graph::OrientedGraph::edgeList ( const Vertex &  x)
inline
Vertex atlas::graph::OrientedGraph::newVertex ( )
inline
void atlas::graph::OrientedGraph::reset ( )
inline
void atlas::graph::OrientedGraph::resize ( size_t  n)
inline
void atlas::graph::OrientedGraph::reverseEdges ( )
void atlas::graph::OrientedGraph::reverseNumbering ( )
size_t atlas::graph::OrientedGraph::size ( ) const
inline
void atlas::graph::OrientedGraph::swap ( OrientedGraph &  other)
inline

Member Data Documentation

std::vector<EdgeList> atlas::graph::OrientedGraph::d_edges
private

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