COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r834 r783  
    195195  ///only in the concept class.
    196196  ///
    197   ///This class provides constant time counting for nodes and arcs.
    198   ///
    199197  ///\sa concepts::Digraph
    200198  ///\sa SmartGraph
     
    500498    }
    501499
    502     static void next(Node& node) {
     500    void next(Node& node) const {
    503501      --node._id;
    504502    }
     
    508506    }
    509507
    510     static void next(Arc& arc) {
     508    void next(Arc& arc) const {
    511509      --arc._id;
    512510    }
     
    516514    }
    517515
    518     static void next(Edge& arc) {
     516    void next(Edge& arc) const {
    519517      --arc._id;
    520518    }
     
    623621  /// only in the concept class.
    624622  ///
    625   /// This class provides constant time counting for nodes, edges and arcs.
    626   ///
    627623  /// \sa concepts::Graph
    628624  /// \sa SmartDigraph
Note: See TracChangeset for help on using the changeset viewer.