src/work/athos/suurballe.cc
changeset 307 0fac67bef95a
parent 292 9e2c108ec0f9
child 310 76c005b15354
equal deleted inserted replaced
1:34df22703b07 2:842822b6a2dc
     2 //#include <iostream>
     2 //#include <iostream>
     3 //#include <vector>
     3 //#include <vector>
     4 //#include <string>
     4 //#include <string>
     5 
     5 
     6 #include <list_graph.h>
     6 #include <list_graph.h>
     7 #include <suurballe.h>
     7 #include <minlengthpaths.h>
     8 
     8 
     9 using namespace hugo;
     9 using namespace hugo;
    10 
    10 
    11 
    11 
    12 int main()
    12 int main()
   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   Suurballe<ListGraph, int> surb_test(graph, length);
   122   MinLengthPaths<ListGraph, int> surb_test(graph, length);
   123   std::cout << surb_test.run(s,t,k)<<std::endl;
   123   std::cout << surb_test.run(s,t,k)<<std::endl;
   124 
   124 
   125   return 0;
   125   return 0;
   126 }
   126 }