test/dijkstra_test.cc
changeset 1265 552e3d1242c6
parent 1171 7e368d9b67f7
child 1258 bdfc038f364c
child 1259 8b2d4e5d96e4
equal deleted inserted replaced
14:9330465224ca 17:f6d4e53de0f2
    63   Node s, t, n;
    63   Node s, t, n;
    64   Arc e;
    64   Arc e;
    65   VType l;
    65   VType l;
    66   int i;
    66   int i;
    67   bool b;
    67   bool b;
    68   ignore_unused_variable_warning(l,i,b);
    68   ::lemon::ignore_unused_variable_warning(l,i,b);
    69 
    69 
    70   DType::DistMap d(G);
    70   DType::DistMap d(G);
    71   DType::PredMap p(G);
    71   DType::PredMap p(G);
    72   LengthMap length;
    72   LengthMap length;
    73   Path<Digraph> pp;
    73   Path<Digraph> pp;
   162   typedef Digraph::Node Node;
   162   typedef Digraph::Node Node;
   163   typedef concepts::ReadMap<Digraph::Arc,VType> LengthMap;
   163   typedef concepts::ReadMap<Digraph::Arc,VType> LengthMap;
   164 
   164 
   165   Digraph g;
   165   Digraph g;
   166   bool b;
   166   bool b;
   167   ignore_unused_variable_warning(b);
   167   ::lemon::ignore_unused_variable_warning(b);
   168 
   168 
   169   dijkstra(g,LengthMap()).run(Node());
   169   dijkstra(g,LengthMap()).run(Node());
   170   b=dijkstra(g,LengthMap()).run(Node(),Node());
   170   b=dijkstra(g,LengthMap()).run(Node(),Node());
   171   dijkstra(g,LengthMap())
   171   dijkstra(g,LengthMap())
   172     .predMap(concepts::ReadWriteMap<Node,Arc>())
   172     .predMap(concepts::ReadWriteMap<Node,Arc>())