Changeset 1631:e15162d8eca1 in lemon-0.x for lemon/smart_graph.h
- Timestamp:
- 08/16/05 21:06:59 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2139
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/smart_graph.h
r1537 r1631 90 90 /// Maximum node ID. 91 91 ///\sa id(Node) 92 int maxId(Node = INVALID) const { return nodes.size()-1; }92 int maxId(Node) const { return nodes.size()-1; } 93 93 /// Maximum edge ID. 94 94 95 95 /// Maximum edge ID. 96 96 ///\sa id(Edge) 97 int maxId(Edge = INVALID) const { return edges.size()-1; }97 int maxId(Edge) const { return edges.size()-1; } 98 98 99 99 Node source(Edge e) const { return edges[e.n].source; } … … 103 103 104 104 /// The ID of a valid Node is a nonnegative integer not greater than 105 /// \ref max NodeId(). The range of the ID's is not surely continuous106 /// and the greatest node ID can be actually less then \ref max NodeId().105 /// \ref maxId(Node). The range of the ID's is not surely continuous 106 /// and the greatest node ID can be actually less then \ref maxId(Node). 107 107 /// 108 108 /// The ID of the \ref INVALID node is -1. … … 112 112 113 113 /// The ID of a valid Edge is a nonnegative integer not greater than 114 /// \ref max EdgeId(). The range of the ID's is not surely continuous115 /// and the greatest edge ID can be actually less then \ref max EdgeId().114 /// \ref maxId(Edge). The range of the ID's is not surely continuous 115 /// and the greatest edge ID can be actually less then \ref maxId(Edge). 116 116 /// 117 117 /// The ID of the \ref INVALID edge is -1.
Note: See TracChangeset
for help on using the changeset viewer.