arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.01781cs.DScs.DM
收藏

无向图中更快的绕行路径算法

Faster Detours in Undirected Graphs

Shyan Akmal, Virginia Vassilevska Williams, Ryan Williams, Zixuan Xu

AI总结:

本文研究无向图中的k-Detour参数化路径问题,提出利用二分划子图约束检测给定长度路径的新方法,将随机化与确定性运行时间分别提升至1.853^k poly(n)和4.082^k poly(n),并推广改进k-Longest Detour算法。

摘要:

k-Detour问题是一个基本的路径查找问题:给定一个包含n个顶点的图G,指定节点s和t,以及一个正整数k,目标是确定G中是否存在一条长度恰好为dist(s, t) + k的st路径,其中dist(s, t)是从s到t的最短路径长度。当k作为输入的一部分时,k-Detour问题是NP难的,因此研究人员一直在寻求该任务的高效参数化算法,其运行时间为f(k)poly(n),并希望f增长得尽可能慢。我们提出了无向图中k-Detour的更快算法,随机化运行时间为1.853^k poly(n),确定性运行时间为4.082^k poly(n)。此前该问题最快的算法随机化运行时间为2.746^k poly(n),确定性运行时间为6.523^k poly(n) [Bezáková-Curticapean-Dell-Fomin, ICALP 2017]。我们的算法利用了这样一个事实:如果我们承诺路径属于我们称之为“二分划”的子图,其中节点被分成两部分且路径必须满足关于这些部分的约束,那么在无向图中检测给定长度的路径会更容易。此前,这一思想曾被用于获得无向图中寻找长度为k的路径的已知最快算法 [Björklund-Husfeldt-Kaski-Koivisto, JCSS 2017]。我们的工作对k-Longest Detour问题具有直接意义:在该问题中,输入与k-Detour相同,但任务是确定G中是否存在一条长度至少为dist(s, t) + k的st路径。我们关于k-Detour的结果意味着我们可以在随机化3.432^k poly(n)和确定性16.661^k poly(n)时间内解决k-Longest Detour问题。此前该问题最快的算法随机化运行时间为7.539^k poly(n),确定性运行时间为42.549^k poly(n) [Fomin et al., STACS 2022]。

英文摘要:

The $k$-Detour problem is a basic path-finding problem: given a graph $G$ on $n$ vertices, with specified nodes $s$ and $t$, and a positive integer $k$, the goal is to determine if $G$ has an $st$-path of length exactly $\text{dist}(s, t) + k$, where $\text{dist}(s, t)$ is the length of a shortest path from $s$ to $t$. The $k$-Detour problem is NP-hard when $k$ is part of the input, so researchers have sought efficient parameterized algorithms for this task, running in $f(k)\text{poly}(n)$ time, for $f$ as slow-growing as possible. We present faster algorithms for $k$-Detour in undirected graphs, running in $1.853^k \text{poly}(n)$ randomized and $4.082^k \text{poly}(n)$ deterministic time. The previous fastest algorithms for this problem took $2.746^k \text{poly}(n)$ randomized and $6.523^k \text{poly}(n)$ deterministic time [Bezáková-Curticapean-Dell-Fomin, ICALP 2017]. Our algorithms use the fact that detecting a path of a given length in an undirected graph is easier if we are promised that the path belongs to what we call a "bipartitioned" subgraph, where the nodes are split into two parts and the path must satisfy constraints on those parts. Previously, this idea was used to obtain the fastest known algorithm for finding paths of length $k$ in undirected graphs [Björklund-Husfeldt-Kaski-Koivisto, JCSS 2017]. Our work has direct implications for the $k$-Longest Detour problem: in this problem, we are given the same input as in $k$-Detour, but are now tasked with determining if $G$ has an $st$-path of length at least $\text{dist}(s, t) + k.$ Our results for k-Detour imply that we can solve $k$-Longest Detour in $3.432^k \text{poly}(n)$ randomized and $16.661^k \text{poly}(n)$ deterministic time. The previous fastest algorithms for this problem took $7.539^k \text{poly}(n)$ randomized and $42.549^k \text{poly}(n)$ deterministic time [Fomin et al., STACS 2022].

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

↑