Editing to Eulerian Graphs
Abstract
We investigate the problem of modifying a graph into a connected graph in which the degree of each vertex satisfies a prescribed parity constraint. Let , and denote the operations edge addition, edge deletion and vertex deletion respectively. For any , we define Connected Degree Parity Editing (CDPE()) to be the problem that takes as input a graph , an integer and a function , and asks whether can be modified into a connected graph with for each , using at most operations from . We prove that 1. if or , then CDPE() can be solved in polynomial time; 2. if , then CDPE() is NP-complete and W[1]-hard when parameterized by , even if . Together with known results by Cai and Yang and by Cygan, Marx, Pilipczuk, Pilipczuk and Schlotter, our results completely classify the classical and parameterized complexity of the CDPE() problem for all . We obtain the same classification for a natural variant of the CDPE() problem on directed graphs, where the target is a weakly connected digraph in which the difference between the in- and out-degree of every vertex equals a prescribed value. As an important implication of our results, we obtain polynomial-time algorithms for the Eulerian Editing problem and its directed variant.
Cite
@article{arxiv.1410.6863,
title = {Editing to Eulerian Graphs},
author = {Konrad K. Dabrowski and Petr A. Golovach and Pim van 't Hof and Daniël Paulusma},
journal= {arXiv preprint arXiv:1410.6863},
year = {2014}
}
Comments
33 pages. An extended abstract of this paper will appear in the proceedings of FSTTCS 2014