Class MinimumCostFlowCostScaling

  • All Implemented Interfaces:
    MinimumCostFlow

    public class MinimumCostFlowCostScaling
    extends MinimumCostFlowAbstractBasedSupply
    Minimum-cost flow computation using the cost-scaling algorithm with partial-augmentations push-relabel variant.

    The algorithm runs in \(O(n^2 m \log (n C))\) where \(C\) is the maximum (absolute) edge cost.

    Based on 'Efficient implementations of minimum-cost flow algorithms' by Z. Kiraly, P. Kovacs (2012).

    Author:
    Barak Ugav
    See Also:
    MaximumFlowPushRelabel
    • Constructor Detail

      • MinimumCostFlowCostScaling

        public MinimumCostFlowCostScaling()
        Create a new minimum-cost flow algorithm object.

        Please prefer using MinimumCostFlow.newInstance() to get a default implementation for the MinimumCostFlow interface.