Dynamic Detours

Abstract

Fix a parameter k∈ N. We give dynamic data structures that for a fully dynamic undirected graph G, updated over time by edge insertions and edge deletions, can answer the following queries: - Long (u,v)-path: Given u,v∈ V(G), is there a path from u to v of length at least k? - Long (u,v)-detour: Given u,v∈ V(G), is there a path from u to v of length at least distG(u,v)+k? - Even/odd (u,v)-path: Given u,v∈ V(G), is there a path from u to v of even/odd length? The amortized time of executing an update or answering a query is 2O(k3) n + O(2 n 2 n) in the first two cases, and O(2 n 2 n) in the last, where n is the number of vertices of G. The first result is in sharp contrast with known conditional lower bounds for reporting paths of length at most k. Specifically, there is no data structure supporting queries about (u,v)-paths of length at most two in time no(1) unless the Triangle Conjecture fails. Our main technical contribution is a mechanism of "delayed edge insertion" that works locally on the level of biconnected components.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…