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

回避禁止对问题的路径复杂性

Complexity of the path avoiding forbidden pairs problem revisited

Jakub Kováč

摘要:

设G =(V,E)是一个有向无圈图,有两个可区别的顶点s,t,F是一组禁止顶点对.我们说G中的一条路是安全的,如果它至多包含F中每对{u,v}中的一个顶点。给定G和F,路径避免禁止对(PAFP)问题是在G中寻找一条安全的s-t路径。我们系统地研究了根据禁止对的相互位置定义的PAFP问题的不同特殊情况的复杂性。固定一个顶点的拓扑顺序;我们说对{u,v}和{x,y}是不相交的,如果u,v < x,y,嵌套的,如果u < x,y < v,和减半的,如果u < x < v < y。PAFP问题是已知的NP-硬一般或如果没有两对是不相交的,我们证明,它仍然是NP-硬,即使没有两个禁止对嵌套。另一方面,如果没有两个对是减半的,则已知该问题在立方时间内可解。我们通过给出一个O(M(n))时间的算法来简化和改进这个结果,其中M(n)是两个n \times n布尔矩阵相乘的时间.

英文摘要:

Let G = (V, E) be a directed acyclic graph with two distinguished vertices s, t and let F be a set of forbidden pairs of vertices. We say that a path in G is safe, if it contains at most one vertex from each pair {u, v} in F. Given G and F, the path avoiding forbidden pairs (PAFP) problem is to find a safe s-t path in G. We systematically study the complexity of different special cases of the PAFP problem defined according to the mutual positions of forbidden pairs. Fix one topological ordering of vertices; we say that pairs {u, v} and {x, y} are disjoint, if u, v < x, y, nested, if u < x, y < v, and halving, if u < x < v < y. The PAFP problem is known to be NP-hard in general or if no two pairs are disjoint; we prove that it remains NP-hard even when no two forbidden pairs are nested. On the other hand, if no two pairs are halving, the problem is known to be solvable in cubic time. We simplify and improve this result by showing an O(M(n)) time algorithm, where M(n) is the time to multiply two n \times n boolean matrices.

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

↑