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

加权匹配的数据结构及对$b$ -匹配和$f$ -因子的扩展

Data Structures for Weighted Matching and Extensions to $b$-matching and $f$-factors

Harold N. Gabow

摘要:

本文证明了一般图上的加权匹配问题可以在时间$O(n(m + n\log n))$内求解,其中$n$和$m$分别是顶点数和边数。这是以前已知的只有二分图。关键是创建花的数据结构。它使用一个动态的最近共同祖先算法来简化开花步骤,所以它们只涉及到后边缘,而不是任意的非树边缘。本文的其余部分提出了直接扩展埃德蒙兹的开花算法加权$b$ -匹配和$f$ -因素。同样,时间界限也是以前已知的二分图的时间界限:对于$b$ -匹配,时间是$O(\min\{b(V),n\log n\}(m + n\log n))$,对于$f$ -因子,时间是$O(\min\{f(V),m\log n\}( m + n\log n) )$,其中$b(V)$和$f(V)$表示所有度约束的总和。给出了$f$ -因子算法的几个直接应用:给出了\cite{GS13}的广义最短路结构,即,保守无向图的最短路径树的模拟,是$f$因子的开花结构的一个版本。该结构在时间$O(|N|(m+n\log n))$中找到,$N$是负边缘集($0<|N|<n$)。最短的$T$连接在时间$O(n(m+n\log n))$中找到,或者当所有成本都为非负时,在$O(|T|(m+n\log n))$中找到.这些界限都是以前已知的轻微改进,并简单地实现了适当的初始化的$f$因子算法。

英文摘要:

This paper shows the weighted matching problem on general graphs can be solved in time $O(n(m + n\log n))$ for $n$ and $m$ the number of vertices and edges, respectively. This was previously known only for bipartite graphs. The crux is a data structure for blossom creation. It uses a dynamic nearest-common-ancestor algorithm to simplify blossom steps, so they involve only back edges rather than arbitrary nontree edges. The rest of the paper presents direct extensions of Edmonds' blossom algorithm to weighted $b$-matching and $f$-factors. Again the time bound is the one previously known for bipartite graphs: for $b$-matching the time is $O(\min\{b(V),n\log n\}(m + n\log n))$ and for $f$-factors the time is $O(\min\{f(V),m\log n\}( m + n\log n) )$, where $b(V)$ and $f(V)$ denote the sum of all degree constraints. Several immediate applications of the $f$-factor algorithm are given: The generalized shortest path structure of \cite{GS13}, i.e., the analog of the shortest path tree for conservative undirected graphs, is shown to be a version of the blossom structure for $f$-factors. This structure is found in time $O(|N|(m+n\log n))$ for $N$ the set of negative edges ($0<|N|<n$). A shortest $T$-join is found in time $O(n(m+n\log n))$, or $O(|T|(m+n\log n))$ when all costs are nonnegative. These bounds are all slight improvements of previously known ones, and are simply achieved by proper initialization of the $f$-factor algorithm.

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

↑