test/circulation_test.cc
changeset 1109 89e1877e335f
parent 1008 d216e1c8b3fa
parent 1083 3e711ee55d31
child 1092 dceba191c00d
equal deleted inserted replaced
9:5e5c782a298d 11:f6905c65bf2d
    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>
   102   v = const_circ_test.flow(a);
   102   v = const_circ_test.flow(a);
   103   const FlowMap& fm = const_circ_test.flowMap();
   103   const FlowMap& fm = const_circ_test.flowMap();
   104   b = const_circ_test.barrier(n);
   104   b = const_circ_test.barrier(n);
   105   const_circ_test.barrierMap(bar);
   105   const_circ_test.barrierMap(bar);
   106 
   106 
   107   ignore_unused_variable_warning(fm);
   107   ::lemon::ignore_unused_variable_warning(fm);
   108 }
   108 }
   109 
   109 
   110 template <class G, class LM, class UM, class DM>
   110 template <class G, class LM, class UM, class DM>
   111 void checkCirculation(const G& g, const LM& lm, const UM& um,
   111 void checkCirculation(const G& g, const LM& lm, const UM& um,
   112                       const DM& dm, bool find)
   112                       const DM& dm, bool find)