Reconfiguration of graphs with connectivity constraints
arXiv:1809.05443
Abstract
A graph realizes the degree sequence if the degrees of its vertices is . Hakimi gave a necessary and sufficient condition to guarantee that there exists a connected multigraph realizing . Taylor later proved that any connected multigraph can be transformed into any other via a sequence of flips (maintaining connectivity at any step). A flip consists in replacing two edges and by the diagonals and . In this paper, we study a generalization of this problem. A set of subsets of vertices is \emph{nested} if for every either or one is included in the other. We are interested in multigraphs realizing a degree sequence and such that all the sets of a nested collection induce connected subgraphs. Such constraints naturally appear in tandem mass spectrometry. We show that it is possible to decide in polynomial if there exists a graph realizing where all the sets in induce connected subgraphs. Moreover, we prove that all such graphs can be obtained via a sequence of flips such that all the intermediate graphs also realize and where all the sets of induce connected subgraphs. Our proof is algorithmic and provides a polynomial time approximation algorithm on the shortest sequence of flips between two graphs whose ratio depends on the depth of the nested partition.