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

一个求解DAG中k条最长(最短)路的非枚举算法

A nonenumerative algorithm to find the k longest (shortest) paths in a DAG

Fatih Kocan

摘要:

在本文中,我们提出了一种新的和有效的算法来找到源和汇之间的有向无环图(DAG)的k个最长(最短)路径。该算法不枚举路径,因此它对于非常大的k值特别有用。它基于乘积值和(VSOP)工具,这是零抑制二元决策图(ZBDD)的扩展。我们评估了该算法的性能与DAG模型的路径密集型组合电路,即c6288,有\sim 10^{20}路径。我们发现计算这个DAG中的所有路径及其长度大约需要64分钟。

英文摘要:

In this paper, we present a novel and efficient algorithm to find the k longest (shortest) paths between sources and sinks in a directed acyclic graph (DAG). The algorithm does not enumerate paths therefore it is especially useful for very large k values. It is based on the Valued-Sum-of-Product (VSOP) tool, which is an extension of Zero-suppressed Binary Decision Diagrams (ZBDDs). We assessed the performance of this algorithm with a DAG model of a path-intensive combinational circuit, viz. c6288, that has \sim10^{20} paths. We found that it took about 64 minutes to compute all paths in this DAG along with their lengths.

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

↑