49 size_t size()
const {
return d_edges.size(); }
61 void resize(
size_t n) { d_edges.resize(n); }
const EdgeList & edgeList(const Vertex &x) const
Definition: graph.h:47
Definition: partition.h:51
EdgeList & edgeList(const Vertex &x)
Definition: graph.h:54
Vertex & edge(Vertex x, size_t j)
Definition: graph.h:52
uA p
Definition: lists.cpp:26
set::Elt Vertex
Definition: Atlas.h:101
void reset()
Definition: graph.h:59
void reverseEdges()
Definition: graph.cpp:244
Vertex edge(Vertex x, size_t j) const
Definition: graph.h:45
size_t size() const
Definition: graph.h:49
std::vector< EdgeList > d_edges
Definition: graph.h:30
void reverseNumbering()
Definition: graph.cpp:257
#define out(c)
Definition: cweave.c:205
std::vector< Edge > EdgeList
Definition: Atlas.h:104
Vertex newVertex()
Definition: graph.h:56
void addLinks(const std::vector< const EdgeList * > &out, const partition::Partition &pi)
Definition: graph.cpp:291
void cells(partition::Partition &, OrientedGraph *p=0) const
Definition: graph.cpp:128
OrientedGraph()
Definition: graph.h:35
unsigned long n
Definition: axis.cpp:77
void swap(OrientedGraph &other)
Definition: graph.h:40
OrientedGraph(size_t n)
Definition: graph.h:37
Vertex v
Definition: graph.cpp:116
void resize(size_t n)
Definition: graph.h:61