test/min_mean_cycle_test.cc
changeset 764 1fac515a59c1
parent 763 93cd93e82f9b
child 765 3b544a9c92db
     1.1 --- a/test/min_mean_cycle_test.cc	Fri Aug 07 14:52:40 2009 +0200
     1.2 +++ b/test/min_mean_cycle_test.cc	Mon Aug 10 14:50:57 2009 +0200
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  #include <lemon/smart_graph.h>
     1.6  #include <lemon/lgf_reader.h>
     1.7 -#include <lemon/min_mean_cycle.h>
     1.8 +#include <lemon/howard.h>
     1.9  #include <lemon/path.h>
    1.10  #include <lemon/concepts/digraph.h>
    1.11  #include <lemon/concept_check.h>
    1.12 @@ -141,8 +141,8 @@
    1.13    // Check the interface
    1.14    {
    1.15      typedef concepts::Digraph GR;
    1.16 -    typedef MinMeanCycle<GR, concepts::ReadMap<GR::Arc, int> > IntMmcAlg;
    1.17 -    typedef MinMeanCycle<GR, concepts::ReadMap<GR::Arc, float> > FloatMmcAlg;
    1.18 +    typedef Howard<GR, concepts::ReadMap<GR::Arc, int> > IntMmcAlg;
    1.19 +    typedef Howard<GR, concepts::ReadMap<GR::Arc, float> > FloatMmcAlg;
    1.20      
    1.21      checkConcept<MmcClassConcept<GR, int>, IntMmcAlg>();
    1.22      checkConcept<MmcClassConcept<GR, float>, FloatMmcAlg>();
    1.23 @@ -174,10 +174,10 @@
    1.24        arcMap("c4", c4).
    1.25        run();
    1.26  
    1.27 -    checkMmcAlg<MinMeanCycle<GR, IntArcMap> >(gr, l1, c1,  6, 3);
    1.28 -    checkMmcAlg<MinMeanCycle<GR, IntArcMap> >(gr, l2, c2,  5, 2);
    1.29 -    checkMmcAlg<MinMeanCycle<GR, IntArcMap> >(gr, l3, c3,  0, 1);
    1.30 -    checkMmcAlg<MinMeanCycle<GR, IntArcMap> >(gr, l4, c4, -1, 1);
    1.31 +    checkMmcAlg<Howard<GR, IntArcMap> >(gr, l1, c1,  6, 3);
    1.32 +    checkMmcAlg<Howard<GR, IntArcMap> >(gr, l2, c2,  5, 2);
    1.33 +    checkMmcAlg<Howard<GR, IntArcMap> >(gr, l3, c3,  0, 1);
    1.34 +    checkMmcAlg<Howard<GR, IntArcMap> >(gr, l4, c4, -1, 1);
    1.35    }
    1.36  
    1.37    return 0;