test/dijkstra_test.cc
branch1.1
changeset 1267 bd24650d5cd2
parent 1172 c18ed26f016c
parent 1257 3e711ee55d31
equal deleted inserted replaced
15:04fab320b402 18:6fc6d8df2ff5
    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>())