Changeset 980:0f1044b7a3af in lemon-0.x for src/lemon/full_graph.h
- Timestamp:
- 11/11/04 10:31:55 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1368
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/full_graph.h
r977 r980 19 19 20 20 21 #include <lemon/idmappable_graph_extender.h>22 21 #include <lemon/iterable_graph_extender.h> 23 22 #include <lemon/alteration_observer_registry.h> … … 71 70 /// Maximum node ID. 72 71 ///\sa id(Node) 73 int max NodeId() const { return NodeNum-1; }72 int maxId(Node = INVALID) const { return NodeNum-1; } 74 73 /// Maximum edge ID. 75 74 76 75 /// Maximum edge ID. 77 76 ///\sa id(Edge) 78 int max EdgeId() const { return EdgeNum-1; }77 int maxId(Edge = INVALID) const { return EdgeNum-1; } 79 78 80 79 Node tail(Edge e) const { return e.id % NodeNum; } … … 189 188 typedef AlterableGraphExtender<FullGraphBase> AlterableFullGraphBase; 190 189 typedef IterableGraphExtender<AlterableFullGraphBase> IterableFullGraphBase; 191 typedef IdMappableGraphExtender<IterableFullGraphBase> IdMappableFullGraphBase; 192 typedef DefaultMappableGraphExtender<IdMappableFullGraphBase> MappableFullGraphBase; 190 typedef DefaultMappableGraphExtender<IterableFullGraphBase> MappableFullGraphBase; 193 191 194 192 ///A full graph class.
Note: See TracChangeset
for help on using the changeset viewer.