Abstract
We study the complexity of the problems of finding, given a graph G, a largest induced subgraph of G with all degrees odd (called an odd subgraph), and the smallest number of odd subgraphs that partition V(G). We call these parameters \(\mathsf{mos}(G)\) and \(\chi _{\mathsf{odd}}(G)\), respectively. We prove that deciding whether \(\chi _{\mathsf{odd}}(G) \le q\) is polynomial-time solvable if \(q \le 2\), and NP-complete otherwise. We provide algorithms in time \(2^{{{\mathcal {O}}}(\mathsf{rw})} \cdot n^{{{\mathcal {O}}}(1)}\) and \(2^{{{\mathcal {O}}}(q \cdot \mathsf{rw})} \cdot n^{{{\mathcal {O}}}(1)}\) to compute \(\mathsf{mos}(G)\) and to decide whether \(\chi _{\mathsf{odd}}(G) \le q\) on n-vertex graphs of rank-width at most \(\mathsf{rw}\), respectively, and we prove that the dependency on rank-width is asymptotically optimal under the ETH. Finally, we give some tight bounds for these parameters on restricted graph classes or in relation to other parameters.
Similar content being viewed by others
Notes
We would like to mention that another NP-hardness proof for computing \(\mathsf{mes}(G)\) has very recently appeared online [40]. The proof uses a chain of reductions from Maximum Cut and, although it also involves a quadratic blow-up, it can be avoided by starting from Maximum Cut restricted to graphs of bounded degree.
References
Bergougnoux, B., Kanté, M.M.: Rank based approach on graphs with structured neighborhood. CoRR, abs/1805.11275 (2018)
Bergougnoux, B., Kanté, M.M.: More applications of the \(d\)-neighbor equivalence: connectivity and acyclicity constraints. In: Proc. of the 27th Annual European Symposium on Algorithms (ESA), olume 144 of LIPIcs, pp. 17:1–17:14 (2019)
Berman, D.M., Wang, H., Wargo, L.: Odd induced subgraphs in graphs of maximum degree three. Aust. J. Comb. 15, 81–86 (1997)
Bui-Xuan, B., Telle, J.A., Vatshelle, M.: \(H\)-join decomposable graphs and algorithms with runtime single exponential in rankwidth. Discrete Appl. Math. 158(7), 809–819 (2010)
Bui-Xuan, B., Telle, J.A., Vatshelle, M.: Boolean-width of graphs. Theoret. Comput. Sci. 412(39), 5187–5204 (2011)
Bui-Xuan, B., Telle, J.A., Vatshelle, M.: Fast dynamic programming for locally checkable vertex subset and vertex partitioning problems. Theoret. Comput. Sci. 511, 66–76 (2013)
Cai, L., Yang, B.: Parameterized complexity of even/odd subgraph problems. J. Discrete Algorithms 9(3), 231–240 (2011)
Caro, Y.: On induced subgraphs with odd degrees. Discrete Math. 132(1–3), 23–28 (1994)
Caro, Y., Klostermeyer, W.: The odd domination number of a graph. J. Comb. Math. Comb. Comput. 44, 65–84 (2003)
Caro, Y., Klostermeyer, W., Yuster, R.: Connected odd dominating sets in graphs. Discuss. Math. Graph Theory 25(3), 225–239 (2005)
Cygan, M., Fomin, F.V., Kowalik, L., Lokshtanov, D., Marx, D., Pilipczuk, M., Pilipczuk, M., Saurabh, S.: Parameterized Algorithms. Springer, Berlin (2015)
Cygan, M., Marx, D., Pilipczuk, M., Pilipczuk, M., Schlotter, I.: Parameterized complexity of Eulerian deletion problems. Algorithmica 68(1), 41–61 (2014)
Diestel, R.: Graph Theory, 4th Edition, volume 173 of Graduate texts in mathematics. Springer (2012)
Downey, R.G., Fellows, M.R.: Fundamentals of Parameterized Complexity. Texts in Computer Science, Springer, Berlin (2013)
Downey, R.G., Fellows, M.R., Vardy, A., Whittle, G.: The parametrized complexity of some fundamental problems in coding theory. SIAM J. Comput. 29(2), 545–570 (1999)
Fellows, M.R., Fomin, F.V., Lokshtanov, D., Rosamond, F.A., Saurabh, S., Szeider, S., Thomassen, C.: On the complexity of some colorful problems parameterized by treewidth. Inf. Comput. 209(2), 143–153 (2011)
Flum, J., Grohe, M.: Parameterized Complexity Theory. Texts in Theoretical Computer Science, Springer, Berlin (2006)
Fomin, F.V., Golovach, P.A., Lokshtanov, D., Saurabh, S.: Intractability of clique-width parameterizations. SIAM J. Comput. 39(5), 1941–1956 (2010)
Fomin, F.V., Golovach, P.A., Lokshtanov, D., Saurabh, S.: Almost optimal lower bounds for problems parameterized by clique-width. SIAM J. Comput. 43(5), 1541–1563 (2014)
Fomin, F.V., Golovach, P.A., Lokshtanov, D., Saurabh, S., Zehavi, M.: Clique-width III: Hamiltonian cycle and the odd case of graph coloring. ACM Trans. Algorithms 15(1), 9:1-9:27 (2019)
Frank, A., Jordán, T., Szigeti, Z.: An orientation theorem with parity conditions. In: Proc. of the 7th International Conference on Integer Programming and Combinatorial Optimization (IPCO), volume 1610 of LNCS, pp. 183–190 (1999)
Ganian, R., Hlinený, P., Obdrzálek, J.: Better algorithms for satisfiability problems for formulas of bounded rank-width. Fundam. Inf. 123(1), 59–76 (2013)
Ganian, R., Hlinený, P., Obdrzálek, J.: A unified approach to polynomial algorithms on graphs of bounded (bi-)rank-width. Eur. J. Comb. 34(3), 680–701 (2013)
Goyal, P., Misra, P., Panolan, F., Philip, G., Saurabh, S.: Finding even subgraphs even faster. J. Comput. Syst. Sci. 97, 1–13 (2018)
Gravier, S., Javelle, J., Mhalla, M., Perdrix, S.: On weak odd domination and graph-based quantum secret sharing. Theoret. Comput. Sci. 598, 129–137 (2015)
Halldórsson, M.M., Kratochvíl, J., Telle, J.A.: Mod-2 independence and domination in graphs. Int. J. Found. Comput. Sci. 11(3), 355–363 (2000)
Hou, X., Yu, L., Li, J., Liu, B.: Odd induced subgraphs in graphs with treewidth at most two. Graphs Comb. 34(4), 535–544 (2018)
Impagliazzo, R., Paturi, R.: On the complexity of \(k\)-SAT. J. Comput. Syst. Sci. 62(2), 367–375 (2001)
Impagliazzo, R., Paturi, R., Zane, F.: Which problems have strongly exponential complexity? J. Comput. Syst. Sci. 63(4), 512–530 (2001)
Kloks, T.: Treewidth. Computations and Approximations. Springer-Verlag LNCS (1994)
Lokshtanov, D., Marx, D., Saurabh, S.: Known algorithms on graphs of bounded treewidth are probably optimal. ACM Trans. Algorithms 14(2), 13:1-13:30 (2018)
Lokshtanov, D., Marx, D., Saurabh, S.: Slightly superexponential parameterized problems. SIAM J. Comput. 47(3), 675–702 (2018)
Lovász, L.: Combinatorial Problems and Exercises. North-Holland, Amsterdam (1979)
Niedermeier, R.: Invitation to Fixed-Parameter Algorithms. Oxford University Press, Oxford (2006)
Oum, S.: Rank-width: algorithmic and structural results. Discrete Appl. Math. 231, 15–24 (2017)
Oum, S., Seymour, P.D.: Approximating clique-width and branch-width. J. Comb. Theory Ser. B 96(4), 514–528 (2006)
Porschen, S., Schmidt, T., Speckenmeyer, E., Wotzlaw, A.: XSAT and NAE-SAT of linear CNF classes. Discrete Appl. Math. 167, 1–14 (2014)
Radcliffe, A.J., Scott, A.D.: Every tree contains a large induced subgraph with all degrees odd. Discrete Math. 140(1–3), 275–279 (1995)
Rao, M.: MSOL partitioning problems on graphs of bounded treewidth and clique-width. Theoret. Comput. Sci. 377(1–3), 260–267 (2007)
Scott, A.D.: Large induced subgraphs with all degrees odd. Comb. Probab. Comput. 1, 335–349 (1992)
Scott, A.D.: On induced subgraphs with all degrees odd. Graphs Comb. 17(3), 539–553 (2001)
Sutner, K.: Additive automata on graphs. Complex Systems 2(6), (1988)
Vardy, A.: The intractability of computing the minimum distance of a code. IEEE Trans. Inf. Theory 43(6), 1757–1766 (1997)
Acknowledgements
We would like to thank the anonymous referees for helpful and thorough comments that improved the presentation of the manuscript. Work supported by French projects DEMOGRAPH (ANR-16-CE40-0028), ESIGMA (ANR-17-CE23-0010), and ELIT (ANR-20-CE48-0008-01), the program “Exploration Japon 2017” of the French embassy in Japan, and the JSPS KAKENHI grant number JP18K11157. An extended abstract of this article appeared in the Proceedings of the 46th International Workshop on Graph-Theoretic Concepts in Computer Science (WG), volume 12301 of LNCS, pages 67–79, held online, June 2020. This article is permanently available at https://arxiv.org/abs/2002.06078.
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
A Parity Version of Domination Problems
A Parity Version of Domination Problems
In this section we consider the “parity version” of domination problems. For simplicity, we just deal with the “odd” versions. Namely, an odd dominating set (resp. odd total dominating set) of a graph G is a set \(S \subseteq V(G)\) such that every vertex in \(V(G) \setminus S\) (resp. V(G)) has an odd number of neighbors in S. Accordingly, in the Minimum Odd Dominating Set (resp. Minimum Odd Total Dominating Set) problem, we are given a graph G and the objective is to find an odd dominating set (resp. odd total dominating set) in G of minimum size.
It is worth mentioning that what is usually called an “odd dominating set” in the literature (cf. for instance [9] and the references given in [10, 25]) differs from the definition given above. Indeed, in previous work a set \(S \subseteq V\) is said to be an odd dominating set if \(|N[v] \cap S|\) is odd for every vertex \(v \in V(G)\). That is, vertices outside of S must have an odd number of neighbors in S, while vertices in S must have an even number of neighbors in S. Note that this definition differs from both definitions given in the above paragraph.
Concerning Odd Total Dominating Set, it was studied –among other parity problems– by Halldórsson et al. [26], who proved its NP-hardness by a reduction from the Codeword of Minimal Weight problem. However, the (quite involved) NP-hardness proof of this latter problem by Vardy [44] involves several nonlinear blow-ups, so a lower bound of \(2^{o(n)}\) under the ETH cannot be deduced from it. Fortunately, we can indeed obtain a linear NP-hardness reduction for both Minimum Odd Dominating Set and Minimum Odd Total Dominating Set by doing simple local modifications to the proof of Sutner [43, Theorem 3.2] for a variant of odd total domination, which is from the 3-Sat problem. We omit the details here.
Once we know that none of these problems can be solved in time \(2^{o(n)}\) on n-vertex graphs under the ETH, our main contribution in this section is to adapt the dynamic programming algorithms presented in Sect. 4 to solve both Minimum Odd Dominating Set and Minimum Odd Total Dominating Set in single-exponential time parameterized by the rank-width of the input graph. Namely, we prove the following two results.
Theorem 9
Given a graph G along with a decomposition tree of rank-width w, the Minimum Odd Dominating Set problem can be solved in time \({{\mathcal {O}}}^*(2^{3\mathsf{rw}})\).
Proof
The algorithm and its proof are nearly identical to the ones for Maximum Odd Subgraph (cf. Theorem 4), replacing condition \((\maltese )\) with
and the leaves are instead defined as \(T_{\{u\}}[\emptyset ,\{v\}] = \emptyset\) and \(T_{\{u\}}[\{u\},\emptyset ]= T_{\{u\}}[\{u\},\{v\}] = \{u\}\). \(T_{\{u\}}[\emptyset ,\emptyset ]\) is left empty. \(\square\)
Theorem 10
Given a graph G along with a decomposition tree of rank-width w, the Minimum Odd Total Dominating Set problem can be solved in time \({{\mathcal {O}}}^*(2^{3\mathsf{rw}})\).
Proof
Again, the algorithm and its proof are nearly identical to the ones for Maximum Odd Subgraph (cf. Theorem 4), replacing condition \((\maltese )\) with
and the leaves are instead defined as \(T_{\{u\}}[\emptyset ,\{v\}] = \emptyset\) and \(T_{\{u\}}[\{u\},\{v\}] = \{u\}\). \(T_{\{u\}}[\emptyset ,\emptyset ]\) and \(T_{\{u\}}[\{u\},\emptyset ]\) are left empty. \(\square\)
As future work, it would be interesting to adapt the above algorithms to deal with the connected version of both problems, where the (total) odd dominating set S is further required to induce a connected graph; see [10] for related work about this variant of domination.
Rights and permissions
About this article
Cite this article
Belmonte, R., Sau, I. On the Complexity of Finding Large Odd Induced Subgraphs and Odd Colorings. Algorithmica 83, 2351–2373 (2021). https://doi.org/10.1007/s00453-021-00830-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-021-00830-x