test/circulation_test.cc
changeset 1266 70b199792735
parent 1171 7e368d9b67f7
child 1258 bdfc038f364c
child 1259 8b2d4e5d96e4
equal deleted inserted replaced
9:fcfb760620c3 12:6bf59555f6cc
    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)