COIN-OR::LEMON - Graph Library

Changeset 995:4bb9e72e1a41 in lemon-main for test


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

Bugfix in adaptor_test.cc (#448)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/adaptors_test.cc

    r515 r995  
    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.