English

A Weighted Approach to the Maximum Cardinality Bipartite Matching Problem with Applications in Geometric Settings

Computational Geometry 2019-03-26 v1 Data Structures and Algorithms

Abstract

We present a weighted approach to compute a maximum cardinality matching in an arbitrary bipartite graph. Our main result is a new algorithm that takes as input a weighted bipartite graph G(AB,E)G(A\cup B,E) with edge weights of 00 or 11. Let wnw \leq n be an upper bound on the weight of any matching in GG. Consider the subgraph induced by all the edges of GG with a weight 00. Suppose every connected component in this subgraph has O(r)\mathcal{O}(r) vertices and O(mr/n)\mathcal{O}(mr/n) edges. We present an algorithm to compute a maximum cardinality matching in GG in O~(m(w+r+wrn))\tilde{\mathcal{O}}( m(\sqrt{w}+ \sqrt{r}+\frac{wr}{n})) time. When all the edge weights are 11 (symmetrically when all weights are 00), our algorithm will be identical to the well-known Hopcroft-Karp (HK) algorithm, which runs in O(mn)\mathcal{O}(m\sqrt{n}) time. However, if we can carefully assign weights of 00 and 11 on its edges such that both ww and rr are sub-linear in nn and wr=O(nγ)wr=\mathcal{O}(n^{\gamma}) for γ<3/2\gamma < 3/2, then we can compute maximum cardinality matching in GG in o(mn)o(m\sqrt{n}) time. Using our algorithm, we obtain a new O~(n4/3/ε4)\tilde{\mathcal{O}}(n^{4/3}/\varepsilon^4) time algorithm to compute an ε\varepsilon-approximate bottleneck matching of A,BR2A,B\subset\mathbb{R}^2 and an 1εO(d)n1+d12d1polylogn\frac{1}{\varepsilon^{\mathcal{O}(d)}}n^{1+\frac{d-1}{2d-1}}\mathrm{poly}\log n time algorithm for computing ε\varepsilon-approximate bottleneck matching in dd-dimensions. All previous algorithms take Ω(n3/2)\Omega(n^{3/2}) time. Given any graph G(AB,E)G(A \cup B,E) that has an easily computable balanced vertex separator for every subgraph G(V,E)G'(V',E') of size Vδ|V'|^{\delta}, for δ[1/2,1)\delta\in [1/2,1), we can apply our algorithm to compute a maximum matching in O~(mnδ1+δ)\tilde{\mathcal{O}}(mn^{\frac{\delta}{1+\delta}}) time improving upon the O(mn)\mathcal{O}(m\sqrt{n}) time taken by the HK-Algorithm.

Keywords

Cite

@article{arxiv.1903.10445,
  title  = {A Weighted Approach to the Maximum Cardinality Bipartite Matching Problem with Applications in Geometric Settings},
  author = {Nathaniel Lahn and Sharath Raghvendra},
  journal= {arXiv preprint arXiv:1903.10445},
  year   = {2019}
}

Comments

Appears in SoCG 2019