scispace - formally typeset
Open AccessProceedings ArticleDOI

Finding Detours is Fixed-Parameter Tractable

TLDR
In this paper, it was shown that the problem is fixed-parameter tractable (FPT) on undirected graphs and actually admits a single-exponential algorithm, that is, one of running time exp(O(k)) * poly(n).
Abstract
We consider the following natural "above guarantee" parameterization of the classical longest path problem: For given vertices s and t of a graph G, and an integer k, the longest detour problem asks for an (s,t)-path in G that is at least k longer than a shortest (s,t)-path. Using insights into structural graph theory, we prove that the longest detour problem is fixed-parameter tractable (FPT) on undirected graphs and actually even admits a single-exponential algorithm, that is, one of running time exp(O(k)) * poly(n). This matches (up to the base of the exponential) the best algorithms for finding a path of length at least k. Furthermore, we study a related problem, exact detour, that asks whether a graph G contains an (s,t)-path that is exactly k longer than a shortest (s,t)-path. For this problem, we obtain a randomized algorithm with running time about 2.746^k * poly(n), and a deterministic algorithm with running time about 6.745^k * poly(n), showing that this problem is FPT as well. Our algorithms for the exact detour problem apply to both undirected and directed graphs.

read more

Citations
More filters
Posted Content

Faster deterministic parameterized algorithm for k-Path

TL;DR: In this paper, a deterministic algorithm for the k-path problem with time complexity O(2.554^k) was presented, which is the fastest known algorithm for this problem.
Book ChapterDOI

Hamiltonicity Below Dirac’s Condition

TL;DR: The Dirac theorem states that an n-vertex graph is Hamiltonian if every vertex has degree at least n/2 as discussed by the authors, which is a classical result of graph theory.
Related Papers (5)