The Distribution Function of the Longest Path Length in Constant Treewidth DAGs with Random Edge Length

preprint2022arXivOpen access

Abstract

This paper is about the length XMAXX_{\rm MAX} of the longest path in directed acyclic graph (DAG) G=(V,E)G=(V,E) with random edge lengths, where ∣V∣=n|V|=n and ∣E∣=m|E|=m. When the edge lengths are mutually independent and uniformly distributed, the problem of computing the distribution function Pr⁡[XMAX≤x]\Pr[X_{\rm MAX}\le x] is known to be #\#P-hard even in case GG is a directed path. In this case, Pr⁡[XMAX≤x]\Pr[X_{\rm MAX}\le x] is equal to the volume of the knapsack polytope, an mm-dimensional unit hypercube truncated by a halfspace. In this paper, we show that there is a deterministic fully polynomial time approximation scheme (FPTAS) for computing Pr⁡[XMAX≤x]\Pr[X_{\rm MAX}\le x] in case the treewidth of GG is at most a constant kk. The running time of our algorithm is O(k2n(16(k+1)mn2ε)4k2+6k+2)O(k^2 n(\frac{16(k+1)mn^2}ε)^{4k^2+6k+2}) to achieve a multiplicative approximation ratio 1+ε1+ε. Before our FPTAS, we present a fundamental formula that represents Pr⁡[XMAX≤x]\Pr[X_{\rm MAX}\le x] by at most n−1n-1 repetitions of definite integrals. Moreover, in case the edge lengths follow the mutually independent standard exponential distribution, we show a ((4k+2)mn)O(k)((4k+2)mn)^{O(k)} time exact algorithm. For random edge lengths satisfying certain conditions, we also show that computing Pr⁡[XMAX≤x]\Pr[X_{\rm MAX}\le x] is fixed parameter tractable if we choose treewidth kk, the additive error ε′ε', and xx as the parameters.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.