lemon/min_cost_flow.h
changeset 2580 fa71d9612c42
parent 2576 ae092c63d3ba
child 2581 054566ac0934
equal deleted inserted replaced
11:7a642020e2f9 12:d774f76c2750
    94       MinCostFlowImpl(graph, lower, capacity, cost, supply) {}
    94       MinCostFlowImpl(graph, lower, capacity, cost, supply) {}
    95 
    95 
    96     /// General constructor of the class (without lower bounds).
    96     /// General constructor of the class (without lower bounds).
    97     MinCostFlow( const Graph &graph,
    97     MinCostFlow( const Graph &graph,
    98                  const CapacityMap &capacity,
    98                  const CapacityMap &capacity,
    99                  const CostMap &_ost,
    99                  const CostMap &cost,
   100                  const SupplyMap &supply ) :
   100                  const SupplyMap &supply ) :
   101       MinCostFlowImpl(graph, capacity, cost, supply) {}
   101       MinCostFlowImpl(graph, capacity, cost, supply) {}
   102 
   102 
   103     /// Simple constructor of the class (with lower bounds).
   103     /// Simple constructor of the class (with lower bounds).
   104     MinCostFlow( const Graph &graph,
   104     MinCostFlow( const Graph &graph,
   105                  const LowerMap &lower,
   105                  const LowerMap &lower,
   106                  const CapacityMap &capacity,
   106                  const CapacityMap &capacity,
   107                  const CostMap &_ost,
   107                  const CostMap &cost,
   108                  Node s, Node t,
   108                  Node s, Node t,
   109                  Supply flow_value ) :
   109                  Supply flow_value ) :
   110       MinCostFlowImpl( graph, lower, capacity, cost,
   110       MinCostFlowImpl( graph, lower, capacity, cost,
   111                        s, t, flow_value ) {}
   111                        s, t, flow_value ) {}
   112 
   112