Changeset 1401:9588dcef6793 in lemon-0.x for src/demo/sub_graph_adaptor_demo.cc
- Timestamp:
- 05/04/05 15:07:10 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1863
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
src/demo/sub_graph_adaptor_demo.cc
r986 r1401 2 2 3 3 // Use a DIMACS max flow file as stdin. 4 // sub_graph_ wrapper_demo < dimacs_max_flow_file4 // sub_graph_adaptor_demo < dimacs_max_flow_file 5 5 // This program computes a maximum number of edge-disjoint shortest paths 6 6 // between s and t. … … 12 12 #include <lemon/dijkstra.h> 13 13 #include <lemon/maps.h> 14 #include <lemon/graph_ wrapper.h>14 #include <lemon/graph_adaptor.h> 15 15 #include <lemon/dimacs.h> 16 16 #include <lemon/preflow.h> … … 58 58 // ConstMap<Node, bool> const_true_map(true); 59 59 // This graph contains exaclty the tight edges. 60 // typedef SubGraph Wrapper<Graph, ConstMap<Node, bool>, TightEdgeFilter> SubGW;61 typedef EdgeSubGraph Wrapper<Graph, TightEdgeFilter> SubGW;60 // typedef SubGraphAdaptor<Graph, ConstMap<Node, bool>, TightEdgeFilter> SubGW; 61 typedef EdgeSubGraphAdaptor<Graph, TightEdgeFilter> SubGW; 62 62 SubGW gw(g, tight_edge_filter); 63 63
Note: See TracChangeset
for help on using the changeset viewer.