COIN-OR::LEMON - Graph Library

Changeset 961:4bb9e72e1a41 in lemon-1.2 for test/adaptors_test.cc


Ignore:
Timestamp:
09/12/12 17:25:48 (7 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
962:2da3de1c0ebe, 964:7fdaa05a69a1
Phase:
public
Message:

Bugfix in adaptor_test.cc (#448)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/adaptors_test.cc

    r504 r961  
    13781378
    13791379  // Apply several adaptors on the grid graph
    1380   typedef SplitNodes<Orienter< const GridGraph, GridGraph::EdgeMap<bool> > >
    1381     SplitGridGraph;
     1380  typedef Orienter< const GridGraph, GridGraph::EdgeMap<bool> >
     1381    OrientedGridGraph;
     1382  typedef SplitNodes<OrientedGridGraph> SplitGridGraph;
    13821383  typedef Undirector<const SplitGridGraph> USplitGridGraph;
    13831384  checkConcept<concepts::Digraph, SplitGridGraph>();
    13841385  checkConcept<concepts::Graph, USplitGridGraph>();
    13851386
    1386   SplitGridGraph adaptor = splitNodes(orienter(graph, dir_map));
     1387  OrientedGridGraph oadaptor = orienter(graph, dir_map);
     1388  SplitGridGraph adaptor = splitNodes(oadaptor);
    13871389  USplitGridGraph uadaptor = undirector(adaptor);
    13881390
Note: See TracChangeset for help on using the changeset viewer.