...
首页> 外文期刊>Discrete Applied Mathematics >Complexity of the path avoiding forbidden pairs problem revisited
【24h】

Complexity of the path avoiding forbidden pairs problem revisited

机译:重回避避禁忌问题的路径复杂性

获取原文
获取原文并翻译 | 示例
           

摘要

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}∈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 by 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×n boolean matrices.
机译:令G =(V,E)是有两个不同的顶点s,t的有向无环图,令F为一组禁止的顶点对。我们说G中的路径是安全的,只要它包含每对{u,v}∈F中最多一个顶点。给定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-难问题。我们证明即使没有嵌套两个禁止对,它仍然保持NP-hard性。另一方面,如果没有两对减半,则已知问题可以在三次时间内解决。我们通过显示O(M(n))时间算法来简化和改进此结果,其中M(n)是将两个n×n布尔矩阵相乘的时间。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号