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

在 Monge 有向无环图中寻找最短 M-链路径

Finding a Shortest $M$-link Path in a Monge Directed Acyclic Graph

Joy Z. Wan

AI总结:

本文提出一种收缩-征服算法,在 Monge 有向无环图中以线性空间和 $O(\sqrt{NM(N-M)\log(N-M)})$ 时间求解最短 $M$-链路径问题,首次实现 $o(NM)$ 时间且部分回答了 AST94 的开放问题。

摘要:

节点为 $1,2,\cdots,N$ 的 Monge 有向无环图(DAG)$G$ 具有边 $\left( i,j\right) $,其中 $1\leq i<j\leq N$,且边长为子模函数。对于任意给定的 $1<M<N-1$,在 $G$ 中寻找从 $1$ 到 $N$ 的最短 $M$-链路径具有许多应用。本文针对该问题给出了一种“收缩-征服”(contract-and-conquer)算法,其时间复杂度为 $O\left( \sqrt{NM\left( N-M\right) \log\left( N-M\right) }\right) $,空间复杂度为 $O\left( N\right) $。这是第一个具有线性空间复杂度的 $o\left( NM\right) $-时间算法,并且当 $M\geq N/2$ 时,其时间复杂度随 $M$ 增大而降低。相比之下,以往所有强多项式算法的运行时间都随 $M$ 增大而增长。对于 $M$ 处于 $O\left( poly\left( \log N\right) \right) $ 和 $N-O\left( poly\left( \log N\right) \right) $ 两种区间的情形,本算法的运行时间为 $O\left( N\cdot poly\left( \log N\right) \right) $,这在一定程度上肯定地回答了 \cite{AST94} 中提出的一个开放问题。

英文摘要:

A Monge directed acyclic graph (DAG) $G$ on the nodes $1,2,\cdots,N$ has edges $\left( i,j\right) $ for $1\leq i<j\leq N$ carrying submodular edge-lengths. Finding a shortest $M$-link path from $1$ to $N$ in $G$ for any given $1<M<N-1$ has many applications. In this paper, we give a contract-and-conquer algorithm for this problem which runs in $O\left( \sqrt{NM\left( N-M\right) \log\left( N-M\right) }\right) $ time and $O\left( N\right) $ space. It is the first $o\left( NM\right) $-time algorithm with linear space complexity, and its time complexity decreases with $M$ when $M\geq N/2$. In contrast, all previous strongly polynomial algorithms have running time growing with $M$. For both $O\left( poly\left( \log N\right) \right) $ and $N-O\left( poly\left( \log N\right) \right) $ regimes of $M$, our algorithm has running time $O\left( N\cdot poly\left( \log N\right) \right) $, which partially answers an open question rased in \cite{AST94} affirmatively.

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

↑