changeset 310 | 76c005b15354 |
parent 306 | 4d15193e3a5d |
child 314 | eabbe162e32e |
2:842822b6a2dc | 3:c8ea0eb4b001 |
---|---|
117 |
117 |
118 std::cout << "Suurballe algorithm test..." << std::endl; |
118 std::cout << "Suurballe algorithm test..." << std::endl; |
119 |
119 |
120 |
120 |
121 int k=3; |
121 int k=3; |
122 MinLengthPaths<ListGraph, int> surb_test(graph, length); |
122 MinLengthPaths<ListGraph, ListGraph::EdgeMap<int> > |
123 std::cout << surb_test.run(s,t,k)<<std::endl; |
123 surb_test(graph, length); |
124 std::cout << surb_test.run(s,t,k) << std::endl; |
|
124 |
125 |
125 return 0; |
126 return 0; |
126 } |
127 } |