Changeset 981:2e34b796d532 in lemon-0.x for src/lemon
- Timestamp:
- 11/11/04 11:17:20 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1369
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/undir_graph_extender.h
r978 r981 177 177 178 178 int id(const Edge &e) const { 179 return 2 *Parent::id(e) + int(e.forward);179 return 2 * Parent::id(e) + int(e.forward); 180 180 } 181 181 182 int max EdgeId() const {183 return 2 *Parent::maxEdgeId() + 1;182 int maxId(Edge = INVALID) const { 183 return 2 * Parent::maxId(typename Parent::Edge()) + 1; 184 184 } 185 int max UndirEdgeId() const {186 return Parent::max EdgeId();185 int maxId(UndirEdge = INVALID) const { 186 return Parent::maxId(typename Parent::Edge()); 187 187 } 188 188
Note: See TracChangeset
for help on using the changeset viewer.