COIN-OR::LEMON - Graph Library

Changeset 2207:75a29ac69c19 in lemon-0.x for demo/disjoint_paths_demo.cc


Ignore:
Timestamp:
09/07/06 15:27:16 (13 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2933
Message:

xy -> dim2::Point

File:
1 edited

Legend:

Unmodified
Added
Removed
  • demo/disjoint_paths_demo.cc

    r2174 r2207  
    5353  Graph graph;
    5454
    55   Graph::NodeMap<xy<double> > coords(graph);
     55  Graph::NodeMap<dim2::Point<double> > coords(graph);
    5656  Graph::Node source, target;
    5757  GraphReader<Graph>("disjoint_paths_demo.lgf", graph).
     
    9999    title("node disjoint path").copyright("(C) 2006 LEMON Project").drawArrows().
    100100    edgeColors(composeMap(functorMap(color), sflow)).
    101     coords(SGraph::combinedNodeMap(coords, shiftMap(coords, xy<double>(5, 0)))).
     101    coords(SGraph::combinedNodeMap(coords,
     102                                   shiftMap(coords,
     103                                            dim2::Point<double>(5, 0)))).
    102104    autoNodeScale().run();
    103105
Note: See TracChangeset for help on using the changeset viewer.