diff -r b5fb023cdb7b -r 0f1044b7a3af src/lemon/full_graph.h --- a/src/lemon/full_graph.h Wed Nov 10 21:59:59 2004 +0000 +++ b/src/lemon/full_graph.h Thu Nov 11 09:31:55 2004 +0000 @@ -18,7 +18,6 @@ #define LEMON_FULL_GRAPH_H -#include #include #include #include @@ -70,12 +69,12 @@ /// Maximum node ID. ///\sa id(Node) - int maxNodeId() const { return NodeNum-1; } + int maxId(Node = INVALID) const { return NodeNum-1; } /// Maximum edge ID. /// Maximum edge ID. ///\sa id(Edge) - int maxEdgeId() const { return EdgeNum-1; } + int maxId(Edge = INVALID) const { return EdgeNum-1; } Node tail(Edge e) const { return e.id % NodeNum; } Node head(Edge e) const { return e.id / NodeNum; } @@ -188,8 +187,7 @@ typedef AlterableGraphExtender AlterableFullGraphBase; typedef IterableGraphExtender IterableFullGraphBase; - typedef IdMappableGraphExtender IdMappableFullGraphBase; - typedef DefaultMappableGraphExtender MappableFullGraphBase; + typedef DefaultMappableGraphExtender MappableFullGraphBase; ///A full graph class.