Changeset 1106:0a7d604a9763 in lemon-0.x for src/lemon/smart_graph.h
- Timestamp:
- 01/28/05 16:37:08 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1505
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/smart_graph.h
r1082 r1106 122 122 static int id(Edge e) { return e.n; } 123 123 124 static Node fromId(int id, Node) { return Node(id);} 125 126 static Edge fromId(int id, Edge) { return Edge(id);} 127 124 128 Node addNode() { 125 129 Node n; n.n=nodes.size();
Note: See TracChangeset
for help on using the changeset viewer.