...
【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(n 3 )时间,其中n是G的节点数。但是,我们的算法仅需要O(kn 2 )时间,其中k是G的宽度,定义为G的最大节点子集U的大小,使得每对节点x ,y∈U,不存在从x到y或从y到x的路径。更重要的是,通过现有算法,需要O(n 2 )额外空间(G本身的空间除外)来维护G的传递闭包以完成任务,而我们只需要O(kn )的额外空间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号