English

Parameterized algorithms for $k$-Inversion

Data Structures and Algorithms 2026-04-08 v1

Abstract

Inversion of a directed graph DD with respect to a vertex subset YY is the directed graph obtained from DD by reversing the direction of every arc whose endpoints both lie in YY. More generally, the inversion of DD with respect to a tuple (Y1,Y2,,Y)(Y_1, Y_2, \ldots, Y_\ell) of vertex subsets is defined as the directed graph obtained by successively applying inversions with respect to Y1,Y2,,YY_1, Y_2, \ldots, Y_\ell. Such a tuple is called a \emph{decycling family} of DD if the resulting graph is acyclic. In the \textsc{kk-Inversion} problem, the input consists of a directed graph DD and an integer kk, and the task is to decide whether DD admits a decycling family of size at most kk. Alon et al.\ (SIAM J.\ Discrete Math., 2024) proved that the problem is NP-complete for every fixed value of kk, thereby ruling out XP algorithms, and presented a fixed-parameter tractable (FPT) algorithm parameterized by kk for tournament inputs. In this paper, we generalize their algorithm to a broader variant of the problem on tournaments and subsequently use this result to obtain an FPT algorithm for \textsc{kk-Inversion} when the underlying undirected graph of the input is a block graph. Furthermore, we obtain an algorithm for \textsc{kk-Inversion} on general directed graphs with running time 2O(tw(k+tw))nO(1)2^{O(\mathrm{tw}(k + \mathrm{tw}))} \cdot n^{O(1)}, where tw\mathrm{tw} denotes the treewidth of the underlying graph.

Keywords

Cite

@article{arxiv.2604.05528,
  title  = {Parameterized algorithms for $k$-Inversion},
  author = {Dhanyamol Antony and L. Sunil Chandran and Dalu Jacob and R. B. Sandeep},
  journal= {arXiv preprint arXiv:2604.05528},
  year   = {2026}
}

Comments

Full version of a paper accepted to IWOCA 2026