COIN-OR::LEMON - Graph Library

Changeset 909:6a22e0dfd453 in lemon-0.x for src/hugo/map_bits.h


Ignore:
Timestamp:
09/26/04 23:43:38 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1220
Message:

New symmetric Graph concept.
New symmetric list and smart graph.
Symmetric Graph tests based on the Graph Tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/map_bits.h

    r906 r909  
    5555  struct KeyInfo<Graph, typename Graph::SymEdgeIt> {
    5656    static int maxId(const Graph& graph) {
    57       return graph.maxEdgeId() >> 1;
     57      return graph.maxSymEdgeId();
    5858    }
    59     static int id(const Graph& graph, const typename Graph::Edge& edge) {
    60       return graph.id(edge) >> 1;
     59    static int id(const Graph& graph, const typename Graph::SymEdge& edge) {
     60      return graph.id(edge);
    6161    }
    6262  };
Note: See TracChangeset for help on using the changeset viewer.