COIN-OR::LEMON - Graph Library

Changeset 764:1fac515a59c1 in lemon-main for test


Ignore:
Timestamp:
08/10/09 14:50:57 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Rename MinMeanCycle? to Howard (#179)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/min_mean_cycle_test.cc

    r763 r764  
    2222#include <lemon/smart_graph.h>
    2323#include <lemon/lgf_reader.h>
    24 #include <lemon/min_mean_cycle.h>
     24#include <lemon/howard.h>
    2525#include <lemon/path.h>
    2626#include <lemon/concepts/digraph.h>
     
    142142  {
    143143    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;
    146146   
    147147    checkConcept<MmcClassConcept<GR, int>, IntMmcAlg>();
     
    175175      run();
    176176
    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);
    181181  }
    182182
Note: See TracChangeset for help on using the changeset viewer.