COIN-OR::LEMON - Graph Library

Changeset 1153:4bb9e72e1a41 in lemon


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

Bugfix in adaptor_test.cc (#448)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/adaptors_test.cc

    r550 r1153  
    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.