test/dijkstra_test.cc
branch1.2
changeset 1007 00769a5f0f5d
parent 970 d216e1c8b3fa
parent 982 3e711ee55d31
equal deleted inserted replaced
14:a57edf0401a9 16:a9cd5a27598c
    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>())