test/circulation_test.cc
branch1.1
changeset 808 bdfc038f364c
parent 797 c18ed26f016c
parent 807 3e711ee55d31
equal deleted inserted replaced
8:3d0ad2b9c007 10:9ee90d3ac932
    71   SupplyMap supply;
    71   SupplyMap supply;
    72   FlowMap flow;
    72   FlowMap flow;
    73   BarrierMap bar;
    73   BarrierMap bar;
    74   VType v;
    74   VType v;
    75   bool b;
    75   bool b;
    76   ignore_unused_variable_warning(v,b);
    76   ::lemon::ignore_unused_variable_warning(v,b);
    77 
    77 
    78   typedef Circulation<Digraph, CapMap, CapMap, SupplyMap>
    78   typedef Circulation<Digraph, CapMap, CapMap, SupplyMap>
    79             ::SetFlowMap<FlowMap>
    79             ::SetFlowMap<FlowMap>
    80             ::SetElevator<Elev>
    80             ::SetElevator<Elev>
    81             ::SetStandardElevator<LinkedElev>
    81             ::SetStandardElevator<LinkedElev>
    97   v = const_circ_test.flow(a);
    97   v = const_circ_test.flow(a);
    98   const FlowMap& fm = const_circ_test.flowMap();
    98   const FlowMap& fm = const_circ_test.flowMap();
    99   b = const_circ_test.barrier(n);
    99   b = const_circ_test.barrier(n);
   100   const_circ_test.barrierMap(bar);
   100   const_circ_test.barrierMap(bar);
   101 
   101 
   102   ignore_unused_variable_warning(fm);
   102   ::lemon::ignore_unused_variable_warning(fm);
   103 }
   103 }
   104 
   104 
   105 template <class G, class LM, class UM, class DM>
   105 template <class G, class LM, class UM, class DM>
   106 void checkCirculation(const G& g, const LM& lm, const UM& um,
   106 void checkCirculation(const G& g, const LM& lm, const UM& um,
   107                       const DM& dm, bool find)
   107                       const DM& dm, bool find)