COIN-OR::LEMON - Graph Library

Changeset 932:ade3cdb9b45d in lemon-0.x for src/demo


Ignore:
Timestamp:
10/01/04 12:08:43 (16 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1255
Message:

New EdgeSubGraphWrapper? class specializing SubGraphWrapper? in the way that only the edge-set can be filtered.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/demo/sub_graph_wrapper_demo.cc

    r931 r932  
    5656  TightEdgeFilter tight_edge_filter(g, dijkstra.distMap(), length);
    5757
    58   ConstMap<Node, bool> const_true_map(true);
     58//  ConstMap<Node, bool> const_true_map(true);
    5959  // 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);
    6263
    6364  ConstMap<Edge, int> const_1_map(1);
Note: See TracChangeset for help on using the changeset viewer.