equal
deleted
inserted
replaced
52 }; |
52 }; |
53 |
53 |
54 template <typename Graph> |
54 template <typename Graph> |
55 struct KeyInfo<Graph, typename Graph::SymEdgeIt> { |
55 struct KeyInfo<Graph, typename Graph::SymEdgeIt> { |
56 static int maxId(const Graph& graph) { |
56 static int maxId(const Graph& graph) { |
57 return graph.maxEdgeId() >> 1; |
57 return graph.maxSymEdgeId(); |
58 } |
58 } |
59 static int id(const Graph& graph, const typename Graph::Edge& edge) { |
59 static int id(const Graph& graph, const typename Graph::SymEdge& edge) { |
60 return graph.id(edge) >> 1; |
60 return graph.id(edge); |
61 } |
61 } |
62 }; |
62 }; |
63 |
63 |
64 /// @} |
64 /// @} |
65 } |
65 } |