Class MatchingWeightedBipartiteSssp

All Implemented Interfaces:
MatchingAlgo

public class MatchingWeightedBipartiteSssp extends MatchingAlgoAbstractBasedMaximum
Maximum weighted matching algorithm using ShortestPathSingleSource for bipartite graphs.

The running time of this algorithm is \(O(m n + n^2 \log n)\) and it uses linear space. If a different ShortestPathSingleSource algorithm is provided using setSsspAlgo(ShortestPathSingleSource) the running time will be \(O(n)\) times the running time of the shortest path algorithm on a graph of size \(O(n)\).

Author:
Barak Ugav
  • Constructor Details

    • MatchingWeightedBipartiteSssp

      public MatchingWeightedBipartiteSssp()
      Create a new maximum weighted matching object.
  • Method Details