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

最大匹配的自适应算法

On adaptive algorithms for maximum matching

Falko Hegerfeld, Stefan Kratsch

摘要:

在基本的最大匹配问题中,任务是在给定的无向图中找到成对不相交边的最大基数集。由于Micali和Vazirani,这个问题的最快算法是$\mathcal{O}(\sqrt{n}m)$,自1980年以来一直保持不败。它是由更快的,往往是线性时间,算法为各种特殊的图形类。此外,存在快速参数化算法,例如,时间$\mathcal{O}(km\log n)$相对于树宽$k$,当参数足够小时,其优于$\mathcal{O}(\sqrt{n}m)$。我们表明,Micali-Vazirani算法,实际上任何算法的阶段框架的Hopcroft和卡普,是自适应的有益的输入结构。我们展示了几个图形类,这些算法运行在线性时间$\mathcal{O}(n+m)$。更强烈的是,我们表明,他们运行的时间$\mathcal{O}(\sqrt{k}m)$的图形是$k$顶点删除远离任何这样的类,没有明确计算的最佳或近似删除集,以前,大多数这样的界限至少是$Ω(km)$。因此,具有线性时间相位的任何基于相位的匹配算法在$k=\mathcal{O}(1)$的线性时间和当$k=Θ(n)$时的$\mathcal{O}(\sqrt{n}m)$的最差情况之间进行不对称插值。我们补充我们的研究结果证明,阶段框架本身仍然允许$Ω(\sqrt{n})$阶段,因此时间$Ω(\sqrt{n}m)$,即使在路径,cographs,和二分链图。

英文摘要:

In the fundamental Maximum Matching problem the task is to find a maximum cardinality set of pairwise disjoint edges in a given undirected graph. The fastest algorithm for this problem, due to Micali and Vazirani, runs in time $\mathcal{O}(\sqrt{n}m)$ and stands unbeaten since 1980. It is complemented by faster, often linear-time, algorithms for various special graph classes. Moreover, there are fast parameterized algorithms, e.g., time $\mathcal{O}(km\log n)$ relative to tree-width $k$, which outperform $\mathcal{O}(\sqrt{n}m)$ when the parameter is sufficiently small. We show that the Micali-Vazirani algorithm, and in fact any algorithm following the phase framework of Hopcroft and Karp, is adaptive to beneficial input structure. We exhibit several graph classes for which such algorithms run in linear time $\mathcal{O}(n+m)$. More strongly, we show that they run in time $\mathcal{O}(\sqrt{k}m)$ for graphs that are $k$ vertex deletions away from any of several such classes, without explicitly computing an optimal or approximate deletion set; before, most such bounds were at least $Ω(km)$. Thus, any phase-based matching algorithm with linear-time phases obliviously interpolates between linear time for $k=\mathcal{O}(1)$ and the worst case of $\mathcal{O}(\sqrt{n}m)$ when $k=Θ(n)$. We complement our findings by proving that the phase framework by itself still allows $Ω(\sqrt{n})$ phases, and hence time $Ω(\sqrt{n}m)$, even on paths, cographs, and bipartite chain graphs.

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

↑