COIN-OR::LEMON - Graph Library

Changeset 56:6f1cdec3949d in lemon-0.x for src/work/alpar/emptygraph.h


Ignore:
Timestamp:
02/04/04 12:55:27 (21 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@71
Message:

Some correction proposed by Marci.

File:
1 edited

Legend:

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

    r55 r56  
    1313  class NodeIt {};
    1414   
    15   NodeIt &getFirst(NodeIt &);
    16   InEdgeIt &getFirst(InEdgeIt &,const NodeIt &);
    17   OutEdgeIt &getFirst(OutEdgeIt &,const NodeIt &);
    18   SymEdgeIt &getFirst(SymEdgeIt &,const NodeIt &);
    19   EachEdgeIt &getFirst(EachEdgeIt &);
     15  NodeIt &getFirst(NodeIt &) const;
     16  InEdgeIt &getFirst(InEdgeIt &,const NodeIt) const;
     17  OutEdgeIt &getFirst(OutEdgeIt &,const NodeIt) const;
     18  SymEdgeIt &getFirst(SymEdgeIt &,const NodeIt) const;
     19  EachEdgeIt &getFirst(EachEdgeIt &) const;
    2020
    21   NodeIt next(const NodeIt &);
    22   InEdgeIt next(const InEdgeIt &);
    23   OutEdgeIt next(const OutEdgeIt &);
    24   SymEdgeIt next(const SymEdgeIt &);
    25   EachEdgeIt next(const EachEdgeIt &);
     21  NodeIt next(const NodeIt) const;
     22  InEdgeIt next(const InEdgeIt) const;
     23  OutEdgeIt next(const OutEdgeIt) const;
     24  SymEdgeIt next(const SymEdgeIt) const;
     25  EachEdgeIt next(const EachEdgeIt) const;
    2626
    27   NodeIt &goNext(const NodeIt &);
    28   InEdgeIt &goNext(const InEdgeIt &);
    29   OutEdgeIt &goNext(const OutEdgeIt &);
    30   SymEdgeIt &goNext(const SymEdgeIt &);
    31   EachEdgeIt &goNext(const EachEdgeIt &);
     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;
    3232
    33   NodeIt head(const EdgeIt &);
    34   NodeIt tail(const EdgeIt &);
     33  NodeIt head(const EdgeIt) const;
     34  NodeIt tail(const EdgeIt) const;
    3535 
    36   NodeIt aNode(const InEdgeIt &);
    37   NodeIt aNode(const OutEdgeIt &);
    38   NodeIt aNode(const SymEdgeIt &);
     36  NodeIt aNode(const InEdgeIt) const;
     37  NodeIt aNode(const OutEdgeIt) const;
     38  NodeIt aNode(const SymEdgeIt) const;
    3939
    40   NodeIt bNode(const InEdgeIt &);
    41   NodeIt bNode(const OutEdgeIt &);
    42   NodeIt bNode(const SymEdgeIt &);
     40  NodeIt bNode(const InEdgeIt) const;
     41  NodeIt bNode(const OutEdgeIt) const;
     42  NodeIt bNode(const SymEdgeIt) const;
    4343
    44   bool valid(const NodeIt &);
    45   bool valid(const EdgeIt &);
     44  bool valid(const NodeIt) const;
     45  bool valid(const EdgeIt) const;
    4646
    47   void setInvalid(const NodeIt &);
    48   void setInvalid(const EdgeIt &);
     47  void setInvalid(NodeIt &) const;
     48  void setInvalid(EdgeIt &) const;
    4949 
    5050  NodeIt addNode();
Note: See TracChangeset for help on using the changeset viewer.