COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/smart_graph.h

    r783 r834  
    195195  ///only in the concept class.
    196196  ///
     197  ///This class provides constant time counting for nodes and arcs.
     198  ///
    197199  ///\sa concepts::Digraph
    198200  ///\sa SmartGraph
     
    498500    }
    499501
    500     void next(Node& node) const {
     502    static void next(Node& node) {
    501503      --node._id;
    502504    }
     
    506508    }
    507509
    508     void next(Arc& arc) const {
     510    static void next(Arc& arc) {
    509511      --arc._id;
    510512    }
     
    514516    }
    515517
    516     void next(Edge& arc) const {
     518    static void next(Edge& arc) {
    517519      --arc._id;
    518520    }
     
    620622  /// Most of its member functions and nested classes are documented
    621623  /// only in the concept class.
     624  ///
     625  /// This class provides constant time counting for nodes, edges and arcs.
    622626  ///
    623627  /// \sa concepts::Graph
Note: See TracChangeset for help on using the changeset viewer.