arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.10445cs.CGcs.DS
收藏

最大基数二部匹配问题的加权解法及其在几何环境中的应用

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

Nathaniel Lahn, Sharath Raghvendra

摘要:

本文提出了一种计算任意二部图中最大基数匹配的加权方法。我们的主要结果是一个新的算法,作为输入的加权二分图$G(A\cup B,E)$与$0$或$1$的边权重。让$w \leq n$是$G$中任何匹配的权重的上限。考虑由$G$的所有边导出的具有权重$0$的子图。假设这个子图中的每个连通分支都有$\mathcal{O}(r)$顶点和$\mathcal{O}(mr/n)$边。我们提出了一个算法来计算一个最大的基数匹配$G$在$\tilde{\mathcal{O}}( m(\sqrt{w}+ \sqrt{r}+\frac{wr}{n}))$时间。当所有的边权重都是$1$时(当所有的权重都是$0$时是对称的),我们的算法将与著名的Hopcroft-Karp(HK)算法相同,该算法在$\mathcal{O}(m\sqrt{n})$时间内运行。然而,如果我们可以仔细地在其边缘上分配$0$和$1$的权重,使得$w$和$r$在$n$和$wr=\mathcal{O}(n^γ)$中对于$γ< 3/2$都是次线性的,那么我们可以在$o(m\sqrt{n})$时间内计算$G$中的最大基数匹配。利用我们的算法,我们得到了一个新的$\tilde{\mathcal{O}}(n^{4/3}/\varepsilon^4)$时间算法来计算$A,B\subset\mathbb{R}^2$的$\varepsilon$-近似瓶颈匹配,以及一个$\frac{1}{\varepsilon^{\mathcal{O}(d)}}n^{1+\frac{d-1}{2d-1}}\mathrm{poly}\log n$时间算法来计算$d$-维中的$\varepsilon$-近似瓶颈匹配.所有以前的算法都需要$Ω(n^{3/2})$时间。给定任何图$G(A \cup B,E)$,其对于大小为$|V'|^δ$的每个子图$G'(V',E')$具有容易计算的平衡顶点分隔符,对于$δ\in [1/2,1)$,我们可以应用我们的算法在$\tilde{\mathcal{O}}(mn^{\fracδ{1+δ}})$时间内计算最大匹配,从而改进HK算法所花费的$\mathcal{O}(m\sqrt{n})$时间。

英文摘要:

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(A\cup B,E)$ with edge weights of $0$ or $1$. Let $w \leq n$ be an upper bound on the weight of any matching in $G$. Consider the subgraph induced by all the edges of $G$ with a weight $0$. Suppose every connected component in this subgraph has $\mathcal{O}(r)$ vertices and $\mathcal{O}(mr/n)$ edges. We present an algorithm to compute a maximum cardinality matching in $G$ in $\tilde{\mathcal{O}}( m(\sqrt{w}+ \sqrt{r}+\frac{wr}{n}))$ time. When all the edge weights are $1$ (symmetrically when all weights are $0$), our algorithm will be identical to the well-known Hopcroft-Karp (HK) algorithm, which runs in $\mathcal{O}(m\sqrt{n})$ time. However, if we can carefully assign weights of $0$ and $1$ on its edges such that both $w$ and $r$ are sub-linear in $n$ and $wr=\mathcal{O}(n^γ)$ for $γ< 3/2$, then we can compute maximum cardinality matching in $G$ in $o(m\sqrt{n})$ time. Using our algorithm, we obtain a new $\tilde{\mathcal{O}}(n^{4/3}/\varepsilon^4)$ time algorithm to compute an $\varepsilon$-approximate bottleneck matching of $A,B\subset\mathbb{R}^2$ and an $\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 $d$-dimensions. All previous algorithms take $Ω(n^{3/2})$ time. Given any graph $G(A \cup B,E)$ that has an easily computable balanced vertex separator for every subgraph $G'(V',E')$ of size $|V'|^δ$, for $δ\in [1/2,1)$, we can apply our algorithm to compute a maximum matching in $\tilde{\mathcal{O}}(mn^{\fracδ{1+δ}})$ time improving upon the $\mathcal{O}(m\sqrt{n})$ time taken by the HK-Algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑