Changeset 527:7550fed0cd91 in lemon-0.x for src/work/athos/mincostflows_test.cc
- Timestamp:
- 05/04/04 16:54:21 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@693
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
src/work/athos/mincostflows_test.cc
r520 r527 1 1 #include <iostream> 2 2 #include <list_graph.h> 3 #include <minlengthpaths.h> 4 #include <path.h> 3 #include <mincostflows.h> 4 //#include <path.h> 5 #include <maps.h> 5 6 6 7 using namespace std; … … 61 62 length.set(v5_t, 8); 62 63 64 ConstMap const1map(1); 63 65 std::cout << "Minlengthpaths algorithm test..." << std::endl; 64 66 65 67 66 68 int k=3; 67 Min LengthPaths< ListGraph, ListGraph::EdgeMap<int> >68 surb_test(graph, length );69 MinCostFlows< ListGraph, ListGraph::EdgeMap<int> > 70 surb_test(graph, length, const1map); 69 71 70 72 check( surb_test.run(s,t,k) == 2 && surb_test.totalLength() == 46,"Two paths, total length should be 46");
Note: See TracChangeset
for help on using the changeset viewer.