10 //NodeIt(const NodeIt &) {}
11 bool operator==(NodeIt n) const {} //FIXME
12 bool operator!=(NodeIt n) const {} //FIXME
15 class EachNodeIt : public NodeIt {
17 EachNodeIt() {} //FIXME
18 EachNodeIt(const EmptyGraph &) const {}
19 EachNodeIt(const EachNodeIt &) const {} //FIXME
24 //EdgeIt(const EdgeIt &) {}
25 bool operator==(EdgeIt n) const {} //FIXME
26 bool operator!=(EdgeIt n) const {} //FIXME
29 class OutEdgeIt : public EdgeIt {
31 OutEdgeIt(const EmptyGraph &, NodeIt) {}
34 class InEdgeIt : public EdgeIt {
36 InEdgeIt(const EmptyGraph &, NodeIt) {}
38 // class SymEdgeIt : public EdgeIt {};
39 class EachEdgeIt : public EdgeIt {
41 EachEdgeIt(const EmptyGraph &) {}
44 EachNodeIt &getFirst(EachNodeIt &) const {}
45 InEdgeIt &getFirst(InEdgeIt &, NodeIt) const {}
46 OutEdgeIt &getFirst(OutEdgeIt &, NodeIt) const {}
47 // SymEdgeIt &getFirst(SymEdgeIt &, NodeIt) const {}
48 EachEdgeIt &getFirst(EachEdgeIt &) const {}
50 NodeIt getNext(NodeIt) const {}
51 InEdgeIt getNext(InEdgeIt) const {}
52 OutEdgeIt getNext(OutEdgeIt) const {}
53 //SymEdgeIt getNext(SymEdgeIt) const {}
54 EachEdgeIt getNext(EachEdgeIt) const {}
56 NodeIt &next(NodeIt &) const {}
57 InEdgeIt &next(InEdgeIt &) const {}
58 OutEdgeIt &next(OutEdgeIt &) const {}
59 //SymEdgeIt &next(SymEdgeIt &) const {}
60 EachEdgeIt &next(EachEdgeIt &) const {}
62 NodeIt head(EdgeIt) const {}
63 NodeIt tail(EdgeIt) const {}
65 // NodeIt aNode(InEdgeIt) const {}
66 // NodeIt aNode(OutEdgeIt) const {}
67 // NodeIt aNode(SymEdgeIt) const {}
69 // NodeIt bNode(InEdgeIt) const {}
70 // NodeIt bNode(OutEdgeIt) const {}
71 // NodeIt bNode(SymEdgeIt) const {}
73 bool valid(const NodeIt) const {};
74 bool valid(const EdgeIt) const {};
76 int id(const NodeIt) const {};
77 int id(const EdgeIt) const {};
79 //void setInvalid(NodeIt &) const {};
80 //void setInvalid(EdgeIt &) const {};
83 EdgeIt addEdge(NodeIt tail, NodeIt head) {}
85 void erase(NodeIt n) {}
86 void erase(EdgeIt e) {}
93 template<class T> class NodeMap
97 typedef NodeIt KeyType;
99 NodeMap(const Graph &G) {}
100 NodeMap(const Graph &G, T t) {}
102 void set(NodeIt i, T t) {}
103 T get(NodeIt i) const {} //FIXME: Is it necessary
104 T &operator[](NodeIt i) {}
105 const T &operator[](NodeIt i) const {}
108 update(T a) {} //FIXME: Is it necessary
111 template<class T> class EdgeMap
115 typedef EdgeIt KeyType;
117 EdgeMap(const Graph &G) {}
118 EdgeMap(const Graph &G, T t) {}
120 void set(EdgeIt i, T t) {}
121 T get(EdgeIt i) const {}
122 T &operator[](EdgeIt i) {}
125 update(T a) {} //FIXME: Is it necessary
130 // class EmptyBipGraph : public EmptyGraph
135 // ANodeIt &next(ANodeIt &) {}
136 // BNodeIt &next(BNodeIt &) {}
138 // ANodeIt &getFirst(ANodeIt &) const {}
139 // BNodeIt &getFirst(BNodeIt &) const {}
141 // enum NodeClass { A = 0, B = 1 };
142 // NodeClass getClass(NodeIt n) {}