COIN-OR::LEMON - Graph Library

Changeset 919:6153d9cf78c6 in lemon-0.x for src/hugo/map_bits.h


Ignore:
Timestamp:
09/29/04 16:02:14 (20 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1230
Message:
  • Backport -r1227 and -r1220
  • Temporarily remove (move to attic) tight_edge_filter.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/map_bits.h

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