COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/edge_set.h

    r834 r717  
    256256  /// all arcs incident to the given node is erased from the arc set.
    257257  ///
    258   /// This class fully conforms to the \ref concepts::Digraph
    259   /// "Digraph" concept.
    260   /// It provides only linear time counting for nodes and arcs.
    261   ///
    262258  /// \param GR The type of the graph which shares its node set with
    263259  /// this class. Its interface must conform to the
    264260  /// \ref concepts::Digraph "Digraph" or \ref concepts::Graph "Graph"
    265261  /// concept.
     262  ///
     263  /// This class fully conforms to the \ref concepts::Digraph
     264  /// "Digraph" concept.
    266265  template <typename GR>
    267266  class ListArcSet : public ArcSetExtender<ListArcSetBase<GR> > {
     
    687686  /// incident to the given node is erased from the arc set.
    688687  ///
    689   /// This class fully conforms to the \ref concepts::Graph "Graph"
    690   /// concept.
    691   /// It provides only linear time counting for nodes, edges and arcs.
    692   ///
    693688  /// \param GR The type of the graph which shares its node set
    694689  /// with this class. Its interface must conform to the
    695690  /// \ref concepts::Digraph "Digraph" or \ref concepts::Graph "Graph"
     691  /// concept.
     692  ///
     693  /// This class fully conforms to the \ref concepts::Graph "Graph"
    696694  /// concept.
    697695  template <typename GR>
     
    870868    }
    871869
    872     static void next(Arc& arc) {
     870    void next(Arc& arc) const {
    873871      --arc.id;
    874872    }
     
    957955  /// arcs. Therefore the arcs cannot be erased from the arc sets.
    958956  ///
    959   /// This class fully conforms to the \ref concepts::Digraph "Digraph"
    960   /// concept.
    961   /// It provides only linear time counting for nodes and arcs.
    962   ///
    963957  /// \warning If a node is erased from the underlying graph and this
    964958  /// node is the source or target of one arc in the arc set, then
    965959  /// the arc set is invalidated, and it cannot be used anymore. The
    966960  /// validity can be checked with the \c valid() member function.
     961  ///
     962  /// This class fully conforms to the \ref concepts::Digraph
     963  /// "Digraph" concept.
    967964  template <typename GR>
    968965  class SmartArcSet : public ArcSetExtender<SmartArcSetBase<GR> > {
     
    11771174    }
    11781175
    1179     static void next(Arc& arc) {
     1176    void next(Arc& arc) const {
    11801177      --arc.id;
    11811178    }
     
    11851182    }
    11861183
    1187     static void next(Edge& arc) {
     1184    void next(Edge& arc) const {
    11881185      --arc.id;
    11891186    }
     
    13081305  /// edges cannot be erased from the edge sets.
    13091306  ///
    1310   /// This class fully conforms to the \ref concepts::Graph "Graph"
    1311   /// concept.
    1312   /// It provides only linear time counting for nodes, edges and arcs.
    1313   ///
    13141307  /// \warning If a node is erased from the underlying graph and this
    13151308  /// node is incident to one edge in the edge set, then the edge set
    13161309  /// is invalidated, and it cannot be used anymore. The validity can
    13171310  /// be checked with the \c valid() member function.
     1311  ///
     1312  /// This class fully conforms to the \ref concepts::Graph
     1313  /// "Graph" concept.
    13181314  template <typename GR>
    13191315  class SmartEdgeSet : public EdgeSetExtender<SmartEdgeSetBase<GR> > {
Note: See TracChangeset for help on using the changeset viewer.