【24h】

On the DAG Decomposition

机译:关于DAG分解

获取原文
           

摘要

In this paper, we propose an efficient algorithm to decompose a directed acyclic graph G into a minimized set of node-disjoint chains, which cover all the nodes of G. For any two nodes u and v on a chain, if u is above v then there is a path from u to v in G. The best algorithm for this problem up to now needs O(n3) time, where n is the number of the nodes of G. Our algorithm, however, needs only O(k.n2) time, where k is G’s width, defined to be the size of a largest node subset U of G such that for every pair of nodes x, y∈U, there does not exist a path from x to y or from y to x. More importantly, by the existing algorithm, O(n2) extra space (besides the space for G itself) is required to maintain the transitive closure of G to do the task while ours needs only O(k.n) extra space.
机译:在本文中,我们提出了一种有效的算法,将有向无环图G分解为最小的节点不相交链集,该节点不相交链覆盖G的所有节点。对于链上的任何两个节点u和v,如果u高于v那么在G中有一个从u到v的路径。到目前为止,解决该问题的最佳算法需要O(n3)时间,其中n是G的节点数。但是,我们的算法只需要O(k。 n2)时间,其中k是G的宽度,定义为G的最大节点子集U的大小,这样对于每对节点x,y∈U,都不存在从x到y或从y到y的路径。 X。更重要的是,通过现有算法,需要O(n2)额外空间(G本身的空间除外)来维护G的传递闭包以完成任务,而我们的仅需要O(k.n)额外空间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号