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 ea, ed and vd denote the operations edge addition, edge deletion and vertex deletion respectively. For any S⊂eq \ea,ed,vd\, we define Connected Degree Parity Editing(S) (CDPE(S)) to be the problem that takes as input a graph G, an integer k and a function δ V(G)→\0,1\, and asks whether G can be modified into a connected graph H with dH(v)δ(v)~(~2) for each v∈ V(H), using at most k operations from S. We prove that 1. if S=\ea\ or S=\ea,ed\, then CDPE(S) can be solved in polynomial time; 2. if \vd\ ⊂eq S⊂eq \ea,ed,vd\, then CDPE(S) is NP-complete and W[1]-hard when parameterized by k, even if δ 0. 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(S) problem for all S⊂eq \ea,ed,vd\. We obtain the same classification for a natural variant of the CDPE(S) 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.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…