Changeset 1791:62e7d237e1fb in lemon0.x for lemon/graph_adaptor.h
 Timestamp:
 11/14/05 19:38:41 (14 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@2332
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/graph_adaptor.h
r1755 r1791 34 34 #include <lemon/bits/alteration_notifier.h> 35 35 #include <lemon/bits/default_map.h> 36 #include <lemon/bits/ undir_graph_extender.h>36 #include <lemon/bits/graph_extender.h> 37 37 #include <iostream> 38 38 … … 1860 1860 int id(const Edge& edge) const { return edge.id; } 1861 1861 1862 Node fromId(int id, Node) const { return graph>fromId(id, Node()); }1863 Edge fromId(int id, Edge) const { return Edge(id); }1864 1865 int max Id(Node) const { return graph>maxId(Node()); };1866 int max Id(Edge) const { return edges.size()  1; }1862 Node nodeFromId(int id) const { return graph>fromId(id, Node()); } 1863 Edge edgeFromId(int id) const { return Edge(id); } 1864 1865 int maxNodeId() const { return graph>maxId(Node()); }; 1866 int maxEdgeId() const { return edges.size()  1; } 1867 1867 1868 1868 Node source(const Edge& edge) const { return edges[edge.id].source;}
Note: See TracChangeset
for help on using the changeset viewer.