Faster Detours in Undirected Graphs
Abstract
The -Detour problem is a basic path-finding problem: given a graph on vertices, with specified nodes and , and a positive integer , the goal is to determine if has an -path of length exactly , where is the length of a shortest path from to . The -Detour problem is NP-hard when is part of the input, so researchers have sought efficient parameterized algorithms for this task, running in time, for as slow-growing as possible. We present faster algorithms for -Detour in undirected graphs, running in randomized and deterministic time. The previous fastest algorithms for this problem took randomized and deterministic time [Bez\'akov\'a-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 in undirected graphs [Bj\"orklund-Husfeldt-Kaski-Koivisto, JCSS 2017]. Our work has direct implications for the -Longest Detour problem: in this problem, we are given the same input as in -Detour, but are now tasked with determining if has an -path of length at least Our results for k-Detour imply that we can solve -Longest Detour in randomized and deterministic time. The previous fastest algorithms for this problem took randomized and deterministic time [Fomin et al., STACS 2022].
Cite
@article{arxiv.2307.01781,
title = {Faster Detours in Undirected Graphs},
author = {Shyan Akmal and Virginia Vassilevska Williams and Ryan Williams and Zixuan Xu},
journal= {arXiv preprint arXiv:2307.01781},
year = {2023}
}