Parameterized Complexity of Finding Dissimilar Shortest Paths
Ryo Funayama, Yasuaki Kobayashi, Takeaki Uno
TL;DR
This work studies the Dissimilar Shortest Paths problem, seeking $k$ pairwise dissimilar $s$-$t$ shortest paths by enforcing a minimum symmetric-difference distance $d$ between paths. It delivers a deterministic fixed-parameter algorithm with running time $2^{O(3^k d k^2)}n^{O(1)}$, using a hybrid approach that combines preprocessing on shortest-path DAGs, greedy path construction, ball-based partitioning, color-coding, and dynamic programming. The paper also proves strong hardness results: W[1]-hardness parameterized by $k$ (even on DAGs with pathwidth at most $4$) and paraNP-hardness parameterized by $d$, highlighting the necessity of jointly parameterizing both $k$ and $d$ for tractability. The results contrast with recent randomized approaches and illuminate the combinatorial structure of diverse shortest-path families via structured colorings and bypass decompositions. Together, these findings advance our understanding of when diverse shortest-path solutions can be efficiently computed in directed graphs.
Abstract
We consider the problem of finding ``dissimilar'' $k$ shortest paths from $s$ to $t$ in an edge-weighted directed graph $D$, where the dissimilarity is measured by the minimum pairwise Hamming distances between these paths. More formally, given an edge-weighted directed graph $D = (V, A)$, two specified vertices $s, t \in V$, and integers $d, k$, the goal of Dissimilar Shortest Paths is to decide whether $D$ has $k$ shortest paths $P_1, \dots, P_k$ from $s$ to $t$ such that $|A(P_i) \mathbin{\triangle} A(P_j)| \ge d$ for distinct $P_i$ and $P_j$. We design a deterministic algorithm to solve Dissimilar Shortest Paths with running time $2^{O(3^kdk^2)}n^{O(1)}$, that is, Dissimilar Shortest Paths is fixed-parameter tractable parameterized by $k + d$. To complement this positive result, we show that Dissimilar Shortest Paths is W[1]-hard when parameterized by only $k$ and paraNP-hard parameterized by $d$.
