test/dijkstra_test.cc
changeset 319 5e12d7734036
parent 286 da414906fe21
child 397 62f9787c516c
equal deleted inserted replaced
7:d93abfad0b41 8:eab0c2db3396
   140   Digraph G;
   140   Digraph G;
   141   Node s, t;
   141   Node s, t;
   142   LengthMap length(G);
   142   LengthMap length(G);
   143 
   143 
   144   std::istringstream input(test_lgf);
   144   std::istringstream input(test_lgf);
   145   digraphReader(input, G).
   145   digraphReader(G, input).
   146     arcMap("length", length).
   146     arcMap("length", length).
   147     node("source", s).
   147     node("source", s).
   148     node("target", t).
   148     node("target", t).
   149     run();
   149     run();
   150 
   150