This paper is about the length $X_{\rm MAX}$ of the longest path in directed acyclic graph (DAG) $G=(V,E)$ that have random edge lengths, where $|V|=n$ and $|E|=m$. Especially, when the edge lengths are mutually independent and uniformly distributed, the problem of computing the distribution function $\Pr[X_{\rm MAX}\le x]$ is known to be $#$P-hard even in case $G$ is a directed path. This is because $\Pr[X_{\rm MAX}\le x]$ is equal to the volume of the knapsack polytope, an $m$-dimensional unit hypercube truncated by a halfspace. In this paper, we show that there is a {\em deterministic} fully polynomial time approximation scheme (FPTAS) for computing $\Pr[X_{\rm MAX}\le x]$ in case the treewidth of $G$ is bounded by a constant $k$, where there may be exponentially many $s-t$ paths in $G$. The running time of our algorithm is $O((3k+2)^2 n(\frac{(6k+6)mn}{\epsilon})^{9k^2+15k+6})$ to achieve a multiplicative approximation ratio $1+\epsilon$. On the way to show our FPTAS, we show a fundamental formula that represents $\Pr[X_{\rm MAX}\le x]$ by at most $n-1$ repetition of definite integrals. This also leads us to more results. In case the edge lengths obey the mutually independent standard exponential distribution, we show that there exists a $((6k+4)mn)^{O(k)}$ time exact algorithm. We also show, for random edge lengths satisfying certain conditions, that computing $\Pr[X_{\rm MAX}\le x]$ is fixed parameter tractable if we choose treewidth $k$, the additive error $\epsilon'$ and $x$ as the parameters.


翻译:这张纸是关于在定向环球图(DAG) $G=(V,E) 中程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程程距程程程程程程程程程程程程程程程程程(FTTTAS程程程程程程程程程程程程程程程程程程,且马路路路程路程路程路程路程可显示,即直路路路路路路路路路路程距距距距距距距距距维程距距维程距距距次程距距次程程程程距次程距距距距距距距距程距程程程程程程程程程程程程程程程程程程程程程程程程程。

0
下载
关闭预览

相关内容

因果图,Causal Graphs,52页ppt
专知会员服务
238+阅读 · 2020年4月19日
机器学习入门的经验与建议
专知会员服务
90+阅读 · 2019年10月10日
【哈佛大学商学院课程Fall 2019】机器学习可解释性
专知会员服务
99+阅读 · 2019年10月9日
【TED】生命中的每一年的智慧
英语演讲视频每日一推
9+阅读 · 2019年1月29日
【关关的刷题日记60】Leetcode 437. Path Sum III
【 关关的刷题日记53】 Leetcode 100. Same Tree
专知
10+阅读 · 2017年12月1日
Arxiv
0+阅读 · 2021年8月29日
Arxiv
0+阅读 · 2021年8月28日
Arxiv
0+阅读 · 2021年8月27日
Arxiv
0+阅读 · 2021年8月26日
Arxiv
0+阅读 · 2021年8月25日
VIP会员
相关资讯
相关论文
Arxiv
0+阅读 · 2021年8月29日
Arxiv
0+阅读 · 2021年8月28日
Arxiv
0+阅读 · 2021年8月27日
Arxiv
0+阅读 · 2021年8月26日
Arxiv
0+阅读 · 2021年8月25日
Top
微信扫码咨询专知VIP会员