COIN-OR::LEMON - Graph Library

Changeset 145:07c32a103bbb in lemon-0.x for src/work/alpar/emptygraph.h


Ignore:
Timestamp:
03/02/04 16:45:27 (17 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@201
Message:

next() -> getNext()
goNext() -> next()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/alpar/emptygraph.h

    r67 r145  
    11// -*-mode: c++; -*-
    22
    3 class Graph
     3class EmptyGraph
    44{
    55public:
     6
    67  class EdgeIt {};
    78 
     
    1920  EachEdgeIt &getFirst(EachEdgeIt &) const {}
    2021
    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 {}
    2627
    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 {}
    3233
    3334  NodeIt head(EdgeIt) const {}
     
    8283  };
    8384};
     85
     86class 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.