Changeset 919:6153d9cf78c6 in lemon-0.x for src/hugo/map_bits.h
- Timestamp:
- 09/29/04 16:02:14 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1230
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/map_bits.h
r909 r919 55 55 struct KeyInfo<Graph, typename Graph::SymEdgeIt> { 56 56 static int maxId(const Graph& graph) { 57 return graph.max SymEdgeId();57 return graph.maxEdgeId() >> 1; 58 58 } 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; 61 61 } 62 62 };
Note: See TracChangeset
for help on using the changeset viewer.