Changeset 764:1fac515a59c1 in lemon-main for test
- Timestamp:
- 08/10/09 14:50:57 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/min_mean_cycle_test.cc
r763 r764 22 22 #include <lemon/smart_graph.h> 23 23 #include <lemon/lgf_reader.h> 24 #include <lemon/ min_mean_cycle.h>24 #include <lemon/howard.h> 25 25 #include <lemon/path.h> 26 26 #include <lemon/concepts/digraph.h> … … 142 142 { 143 143 typedef concepts::Digraph GR; 144 typedef MinMeanCycle<GR, concepts::ReadMap<GR::Arc, int> > IntMmcAlg;145 typedef MinMeanCycle<GR, concepts::ReadMap<GR::Arc, float> > FloatMmcAlg;144 typedef Howard<GR, concepts::ReadMap<GR::Arc, int> > IntMmcAlg; 145 typedef Howard<GR, concepts::ReadMap<GR::Arc, float> > FloatMmcAlg; 146 146 147 147 checkConcept<MmcClassConcept<GR, int>, IntMmcAlg>(); … … 175 175 run(); 176 176 177 checkMmcAlg< MinMeanCycle<GR, IntArcMap> >(gr, l1, c1, 6, 3);178 checkMmcAlg< MinMeanCycle<GR, IntArcMap> >(gr, l2, c2, 5, 2);179 checkMmcAlg< MinMeanCycle<GR, IntArcMap> >(gr, l3, c3, 0, 1);180 checkMmcAlg< MinMeanCycle<GR, IntArcMap> >(gr, l4, c4, -1, 1);177 checkMmcAlg<Howard<GR, IntArcMap> >(gr, l1, c1, 6, 3); 178 checkMmcAlg<Howard<GR, IntArcMap> >(gr, l2, c2, 5, 2); 179 checkMmcAlg<Howard<GR, IntArcMap> >(gr, l3, c3, 0, 1); 180 checkMmcAlg<Howard<GR, IntArcMap> >(gr, l4, c4, -1, 1); 181 181 } 182 182
Note: See TracChangeset
for help on using the changeset viewer.