COIN-OR::LEMON - Graph Library

Changeset 1156:939d747055cd in lemon for test


Ignore:
Timestamp:
09/12/12 17:51:20 (7 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
1.1
Phase:
public
Message:

Bugfix in adaptor_test.cc (#448)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/adaptors_test.cc

    r488 r1156  
    13781378
    13791379  // Apply several adaptors on the grid graph
    1380   typedef SplitNodes< ReverseDigraph< const Orienter<
    1381             const GridGraph, GridGraph::EdgeMap<bool> > > >
    1382     RevSplitGridGraph;
     1380  typedef Orienter<const GridGraph, GridGraph::EdgeMap<bool> >
     1381    OrientedGridGraph;
     1382  typedef ReverseDigraph<const OrientedGridGraph> RevOrientedGridGraph;
     1383  typedef SplitNodes<RevOrientedGridGraph> RevSplitGridGraph;
    13831384  typedef ReverseDigraph<const RevSplitGridGraph> SplitGridGraph;
    13841385  typedef Undirector<const SplitGridGraph> USplitGridGraph;
     
    13891390  checkConcept<concepts::Graph, UUSplitGridGraph>();
    13901391
     1392  OrientedGridGraph ori_adaptor = orienter(graph, dir_map);
     1393  RevOrientedGridGraph rev_ori_adaptor = reverseDigraph(ori_adaptor);
    13911394  RevSplitGridGraph rev_adaptor =
    1392     splitNodes(reverseDigraph(orienter(graph, dir_map)));
     1395    splitNodes(rev_ori_adaptor);
    13931396  SplitGridGraph adaptor = reverseDigraph(rev_adaptor);
    13941397  USplitGridGraph uadaptor = undirector(adaptor);
Note: See TracChangeset for help on using the changeset viewer.