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

基于伪流算法的二分匹配的理论和实践改进

Practical and theoretical improvements for bipartite matching using the pseudoflow algorithm

Bala G. Chandran, Dorit S. Hochbaum

摘要:

我们表明,最大流的伪流算法是特别有效的二部匹配问题在理论和实践中。我们开发了几个实现的pseudoflow算法的二分匹配,并比较他们在一个广泛的基准实例,以国家的最先进的实现推重新标记和增强路径算法,专门设计来解决这些问题。实验表明,伪流变种在大多数情况下比其他算法更快。我们还表明,一个特定的实现-匹配伪流算法-理论上是有效的。对于一个图的$n$节点,$m$弧,$n_1$的大小较小的集合中的二分区,和最大匹配值$κ\leq n_1$,该算法的复杂度给定的输入形式的邻接表是$O(\min{n_1κ,m} + \sqrtκ\min{κ^2,m})$。类似的算法思想示出的Hopcroft和卡普的二分匹配算法具有相同的复杂性的适应工作。对大小为$λ$的字使用布尔运算,伪流算法的复杂度进一步提高到$O(\min{n_1κ, \frac{n_1n_2}λ, m} + κ^2 + \frac{κ^{2.5}}λ)$。这种运行时间比以前的算法,如Cheriyan和Mehlhorn的复杂性算法$O(\frac{n^{2.5}}λ)$更快。

英文摘要:

We show that the pseudoflow algorithm for maximum flow is particularly efficient for the bipartite matching problem both in theory and in practice. We develop several implementations of the pseudoflow algorithm for bipartite matching, and compare them over a wide set of benchmark instances to state-of-the-art implementations of push-relabel and augmenting path algorithms that are specifically designed to solve these problems. The experiments show that the pseudoflow variants are in most cases faster than the other algorithms. We also show that one particular implementation---the matching pseudoflow algorithm---is theoretically efficient. For a graph with $n$ nodes, $m$ arcs, $n_1$ the size of the smaller set in the bipartition, and the maximum matching value $κ\leq n_1$, the algorithm's complexity given input in the form of adjacency lists is $O(\min{n_1κ,m} + \sqrtκ\min{κ^2,m})$. Similar algorithmic ideas are shown to work for an adaptation of Hopcroft and Karp's bipartite matching algorithm with the same complexity. Using boolean operations on words of size $λ$, the complexity of the pseudoflow algorithm is further improved to $O(\min{n_1κ, \frac{n_1n_2}λ, m} + κ^2 + \frac{κ^{2.5}}λ)$. This run time is faster than for previous algorithms such as Cheriyan and Mehlhorn's algorithm of complexity $O(\frac{n^{2.5}}λ)$.

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

↑