Changeset 145:07c32a103bbb in lemon0.x for src/work/alpar/emptygraph.h
 Timestamp:
 03/02/04 16:45:27 (20 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@201
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/work/alpar/emptygraph.h
r67 r145 1 1 // *mode: c++; * 2 2 3 class Graph3 class EmptyGraph 4 4 { 5 5 public: 6 6 7 class EdgeIt {}; 7 8 … … 19 20 EachEdgeIt &getFirst(EachEdgeIt &) const {} 20 21 21 NodeIt next(NodeIt) const {}22 InEdgeIt next(InEdgeIt) const {}23 OutEdgeIt next(OutEdgeIt) const {}24 SymEdgeIt next(SymEdgeIt) const {}25 EachEdgeIt next(EachEdgeIt) const {}22 NodeIt getNext(NodeIt) const {} 23 InEdgeIt getNext(InEdgeIt) const {} 24 OutEdgeIt getNext(OutEdgeIt) const {} 25 SymEdgeIt getNext(SymEdgeIt) const {} 26 EachEdgeIt getNext(EachEdgeIt) const {} 26 27 27 NodeIt & goNext(NodeIt &) const {}28 InEdgeIt & goNext(InEdgeIt &) const {}29 OutEdgeIt & goNext(OutEdgeIt &) const {}30 SymEdgeIt & goNext(SymEdgeIt &) const {}31 EachEdgeIt & goNext(EachEdgeIt &) const {}28 NodeIt &next(NodeIt &) const {} 29 InEdgeIt &next(InEdgeIt &) const {} 30 OutEdgeIt &next(OutEdgeIt &) const {} 31 SymEdgeIt &next(SymEdgeIt &) const {} 32 EachEdgeIt &next(EachEdgeIt &) const {} 32 33 33 34 NodeIt head(EdgeIt) const {} … … 82 83 }; 83 84 }; 85 86 class EmptyBipGraph : public EmptyGraph 87 { 88 class ANodeIt {}; 89 class BNodeIt {}; 90 91 ANodeIt &next(ANodeIt &) {} 92 BNodeIt &next(BNodeIt &) {} 93 94 ANodeIt &getFirst(ANodeIt &) const {} 95 BNodeIt &getFirst(BNodeIt &) const {} 96 97 enum NodeClass { A = 0, B = 1 }; 98 NodeClass getClass(NodeIt n) {} 99 100 }
Note: See TracChangeset
for help on using the changeset viewer.