arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.04496cs.DScs.DM
收藏

凸二分图中最大权重导出匹配和最小链覆盖的线性时间算法

Linear-Time Algorithms for Maximum-Weight Induced Matchings and Minimum Chain Covers in Convex Bipartite Graphs

Boris Klemz, Günter Rote

AI总结:

本文提出凸二分图中最大权重导出匹配和最小链覆盖的线性时间算法,利用紧凑表示在O(n)或O(n+m)时间内求解,优于此前O(n^2)的算法。

摘要:

一个二分图 $G=(U,V,E)$ 是凸的,如果 $V$ 中的顶点可以线性排序,使得对于每个顶点 $u\in U$,$u$ 的邻居在该排序中是连续的。$G$ 的一个导出匹配 $H$ 是一个匹配,使得 $E$ 中没有边连接 $H$ 的两条不同边的端点。我们证明,在具有 $n$ 个顶点和 $m$ 条加权边的凸二分图中,可以在 $O(n+m)$ 时间内计算出总权重最大的导出匹配。一个无权凸二分图具有大小为 $O(n)$ 的表示,该表示记录了每个顶点 $u\in U$ 在 $V$ 的排序中的第一个和最后一个邻居。给定这样的紧凑表示,我们可以在 $O(n)$ 时间内计算出基数最大的导出匹配。\n\n在凸二分图中,最大基数导出匹配与最小链覆盖是对偶的。链覆盖是用链子图覆盖边集,即不包含多于一条边的导出匹配的子图。给定紧凑表示,我们可以在 $O(n)$ 时间内计算出最小链覆盖的表示。如果没有给出紧凑表示,则可以在 $O(n+m)$ 时间内计算出覆盖。\n\n我们所有的算法都达到了各自问题和模型的最优运行时间。之前的算法只考虑了无权情况,并且计算凸二分图中最大基数导出匹配或最小链覆盖的最佳算法的运行时间为 $O(n^2)$。

英文摘要:

A bipartite graph $G=(U,V,E)$ is convex if the vertices in $V$ can be linearly ordered such that for each vertex $u\in U$, the neighbors of $u$ are consecutive in the ordering of $V$. An induced matching $H$ of $G$ is a matching such that no edge of $E$ connects endpoints of two different edges of $H$. We show that in a convex bipartite graph with $n$ vertices and $m$ weighted edges, an induced matching of maximum total weight can be computed in $O(n+m)$ time. An unweighted convex bipartite graph has a representation of size $O(n)$ that records for each vertex $u\in U$ the first and last neighbor in the ordering of $V$. Given such a compact representation, we compute an induced matching of maximum cardinality in $O(n)$ time. In convex bipartite graphs, maximum-cardinality induced matchings are dual to minimum chain covers. A chain cover is a covering of the edge set by chain subgraphs, that is, subgraphs that do not contain induced matchings of more than one edge. Given a compact representation, we compute a representation of a minimum chain cover in $O(n)$ time. If no compact representation is given, the cover can be computed in $O(n+m)$ time. All of our algorithms achieve optimal running time for the respective problem and model. Previous algorithms considered only the unweighted case, and the best algorithm for computing a maximum-cardinality induced matching or a minimum chain cover in a convex bipartite graph had a running time of $O(n^2)$.

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

↑