COIN-OR::LEMON - Graph Library

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/hypercube_graph.h

    r835 r833  
    263263    }
    264264
    265     static int index(Node node) {
     265    int index(Node node) const {
    266266      return node._id;
    267267    }
     
    295295  /// only in the concept class.
    296296  ///
    297   /// This class provides constant time counting for nodes, edges and arcs.
    298   ///
    299297  /// \note The type of the indices is chosen to \c int for efficiency
    300298  /// reasons. Thus the maximum dimension of this implementation is 26
     
    359357    /// Gives back the index of the given node.
    360358    /// The lower bits of the integer describes the node.
    361     static int index(Node node) {
     359    int index(Node node) const {
    362360      return Parent::index(node);
    363361    }
Note: See TracChangeset for help on using the changeset viewer.