COIN-OR::LEMON - Graph Library

Changeset 706:0fe42b8ec5a6 in lemon-0.x for src


Ignore:
Timestamp:
07/19/04 15:29:32 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@958
Message:

Temporal change: public Edge constructor with given ID.

Location:
src/hugo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/list_graph.h

    r705 r706  
    350350      friend int ListGraph::id(Edge e) const;
    351351
     352    public:
     353      /// An Edge with id \c n.
     354
     355      /// \bug It should be
     356      /// obtained by a member function of the Graph.
    352357      Edge(int nn) {n=nn;}
    353     public:
     358
    354359      Edge() { }
    355360      Edge (Invalid) { n=-1; }
  • src/hugo/smart_graph.h

    r590 r706  
    238238      friend int SmartGraph::id(Edge e) const;
    239239
     240    public:
     241      /// An Edge with id \c n.
     242
     243      /// \bug It should be
     244      /// obtained by a member function of the Graph.
    240245      Edge(int nn) {n=nn;}
    241     public:
    242246      Edge() { }
    243247      Edge (Invalid) { n=-1; }
Note: See TracChangeset for help on using the changeset viewer.