Changeset 932:ade3cdb9b45d in lemon-0.x for src/demo/sub_graph_wrapper_demo.cc
- Timestamp:
- 10/01/04 12:08:43 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1255
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/demo/sub_graph_wrapper_demo.cc
r931 r932 56 56 TightEdgeFilter tight_edge_filter(g, dijkstra.distMap(), length); 57 57 58 ConstMap<Node, bool> const_true_map(true);58 // ConstMap<Node, bool> const_true_map(true); 59 59 // This graph contains exaclty the tight edges. 60 typedef SubGraphWrapper<Graph, ConstMap<Node, bool>, TightEdgeFilter> SubGW; 61 SubGW gw(g, const_true_map, tight_edge_filter); 60 // typedef SubGraphWrapper<Graph, ConstMap<Node, bool>, TightEdgeFilter> SubGW; 61 typedef EdgeSubGraphWrapper<Graph, TightEdgeFilter> SubGW; 62 SubGW gw(g, tight_edge_filter); 62 63 63 64 ConstMap<Edge, int> const_1_map(1);
Note: See TracChangeset
for help on using the changeset viewer.