Skip to main content
Log in

On Subgraph Complementation to H-free Graphs

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

For a class \(\mathcal {G}\) of graphs, the problem Subgraph Complement to \(\mathcal {G}\) asks whether one can find a subset S of vertices of the input graph G such that complementing the subgraph induced by S in G results in a graph in \(\mathcal {G}\). We investigate the complexity of the problem when \(\mathcal {G}\) is H-free for H being a complete graph, a star, a path, or a cycle. We obtain the following results:

  • When H is a \(K_t\) (a complete graph on t vertices) for any fixed \(t\ge 1\), the problem is solvable in polynomial-time. This applies even when \(\mathcal {G}\) is a subclass of \(K_t\)-free graphs recognizable in polynomial-time, for example, the class of d-degenerate graphs, where \(d=t-2\) for \(t>2\).

  • When H is a \(K_{1,t}\) (a star graph on \(t+1\) vertices), we obtain that the problem is NP-complete for every \(t\ge 5\). This, along with the known results, leaves only two unresolved cases—\(K_{1,3}\) and \(K_{1,4}\).

  • When H is a \(P_t\) (a path on t vertices), we obtain that the problem is NP-complete for every \(t\ge 7\), leaving behind only two unresolved cases—\(P_5\) and \(P_6\).

  • When H is a \(C_t\) (a cycle on t vertices), we obtain that the problem is NP-complete for every \(t\ge 7\), leaving behind only three unresolved cases—\(C_4, C_5,\) and \(C_6\).

Further, we prove that these hard problems do not admit subexponential-time algorithms (algorithms running in time \(2^{o(\mid V(G)\mid )}\)), assuming the Exponential Time Hypothesis. We show that the complexity results on a graph class \(\mathcal {G}\) is also true for the class \(\overline{\mathcal {G}}\) of the complement graphs of \(\mathcal {G}\). Therefore, each of the above results mentioned for the H-free class of graphs is also valid for the \(\overline{H}\)-free class of graphs. It is noteworthy that our results generalize two main results, namely, Subgraph Complement to triangle-free graphs and Subgraph Complement to d-degenerate graphs, and resolves one open question due to Fomin et al. (Algorithmica, 2020).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

References

  1. Antony, D., Garchar, J., Pal, S., Sandeep, R.B., Sen, S., Subashini, R.: On subgraph complementation to H-free graphs. In: Kowalik, L., Pilipczuk, M., Rzazewski, P. (eds.), Graph-Theoretic Concepts in Computer Science—47th International Workshop, WG 2021, Warsaw, Poland, June 23–25, 2021, Revised Selected Papers. Lecture Notes in Computer Science, vol. 12911, pp. 118–129. Springer, (2021). https://doi.org/10.1007/978-3-030-86838-3_9

  2. Aravind, N.R., Sandeep, R.B., Sivadasan, N.: Dichotomy results on the hardness of H-free edge modification problems. SIAM J. Discrete Math. 31(1), 542–561 (2017). https://doi.org/10.1137/16M1055797

    Article  MathSciNet  MATH  Google Scholar 

  3. Cai, L., Cai, Y.: Incompressibility of H-free edge modification problems. Algorithmica 71(3), 731–757 (2015). https://doi.org/10.1007/s00453-014-9937-x

    Article  MathSciNet  MATH  Google Scholar 

  4. Cai, Y.: Polynomial kernelisation of H-free edge modification problems. M.Phil. Thesis, Department of Computer Science and Engineering, The Chinese University of Hong Kong, Hong Kong SAR, China (2012)

  5. Guo, J.: A more effective linear kernelization for cluster editing. Theor. Comput. Sci. 410(8–10), 718–726 (2009). https://doi.org/10.1016/j.tcs.2008.10.021

    Article  MathSciNet  MATH  Google Scholar 

  6. Cao, Y., Chen, J.: Cluster editing: kernelization based on edge cuts. Algorithmica 64(1), 152–169 (2012). https://doi.org/10.1007/s00453-011-9595-1

    Article  MathSciNet  MATH  Google Scholar 

  7. Guillemot, S., Havet, F., Paul, C., Perez, A.: On the (non-)existence of polynomial kernels for \(P_\ell \)-free edge modification problems. Algorithmica 65(4), 900–926 (2013). https://doi.org/10.1007/s00453-012-9619-5

    Article  MathSciNet  MATH  Google Scholar 

  8. Cao, Y., Ke, Y., Yuan, H.: Polynomial kernels for paw-free edge modification problems. In: Chen, J., Feng, Q., Xu, J. (eds.) Theory and Applications of Models of Computation, 16th International Conference, TAMC 2020, Changsha, China, October 18–20, 2020, Proceedings. Lecture Notes in Computer Science, vol. 12337, pp. 37–49, Springer (2020). https://doi.org/10.1007/978-3-030-59267-7_4

  9. Eiben, E., Lochet, W., Saurabh, S.: A polynomial kernel for paw-free editing. In: Cao, Y., Pilipczuk, M. (eds.) 15th International Symposium on Parameterized and Exact Computation, IPEC 2020, December 14–18, 2020, Hong Kong, China (Virtual Conference). LIPIcs, vol. 180, pp. 10:1–10:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2020). https://doi.org/10.4230/LIPIcs.IPEC.2020.10

  10. Yannakakis, M.: Edge-deletion problems. SIAM J. Comput. 10(2), 297–309 (1981). https://doi.org/10.1137/0210021

    Article  MathSciNet  MATH  Google Scholar 

  11. Jelínková, E., Kratochvíl, J.: On switching to H-free graphs. J. Graph Theory 75(4), 387–405 (2014). https://doi.org/10.1002/jgt.21745

    Article  MathSciNet  MATH  Google Scholar 

  12. Cao, Y., Sandeep, R.B.: Minimum fill-in: inapproximability and almost tight lower bounds. Inf. Comput. 271, 104514 (2020). https://doi.org/10.1016/j.ic.2020.104514

    Article  MathSciNet  MATH  Google Scholar 

  13. Kaminski, M., Lozin, V.V., Milanic, M.: Recent developments on graphs of bounded clique-width. Discret. Appl. Math. 157(12), 2747–2761 (2009). https://doi.org/10.1016/j.dam.2008.08.022

    Article  MathSciNet  MATH  Google Scholar 

  14. Fomin, F.V., Golovach, P.A., Strømme, T.J.F., Thilikos, D.M.: Subgraph complementation. Algorithmica 82(7), 1859–1880 (2020). https://doi.org/10.1007/s00453-020-00677-8

    Article  MathSciNet  MATH  Google Scholar 

  15. Kolay, S., Panolan, F.: Parameterized algorithms for deletion to \((r, \ell )\)-graphs. In: Harsha, P., Ramalingam, G. (eds.) 35th IARCS Annual Conference on Foundation of Software Technology and Theoretical Computer Science, FSTTCS 2015. LIPIcs, vol. 45, pp. 420–433. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2015). https://doi.org/10.4230/LIPIcs.FSTTCS.2015.420

  16. Marx, D., Sandeep, R.B.: Incompressibility of H-free edge modification problems: towards a dichotomy. In: 28th Annual European Symposium on Algorithms, ESA 2020. LIPIcs, vol. 173, pp. 72:1–72:25. Schloss Dagstuhl—Leibniz-Zentrum für Informatik (2020). https://doi.org/10.4230/LIPIcs.ESA.2020.72

  17. West, D.B.: Introduction to Graph Theory, 2nd edn. Prentice Hall (2000)

  18. Impagliazzo, R., Paturi, R., Zane, F.: Which problems have strongly exponential complexity? J. Comput. Syst. Sci. 63(4), 512–530 (2001)

    Article  MathSciNet  Google Scholar 

  19. Cygan, M., Fomin, F.V., Kowalik, L., Lokshtanov, D., Marx, D., Pilipczuk, M., Pilipczuk, M., Saurabh, S.: Parameterized Algorithms, Springer (2015). https://doi.org/10.1007/978-3-319-21275-3

  20. Gyárfás, A.: Generalized split graphs and Ramsey numbers. J. Comb. Theory Ser. A 81(2), 255–261 (1998). https://doi.org/10.1006/jcta.1997.2833

    Article  MathSciNet  MATH  Google Scholar 

  21. Kolay, S., Panolan, F.: Parameterized algorithms for deletion to (r, l)-graphs. CoRR (2015). arXiv:1504.08120

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Dhanyamol Antony or Sagartanu Pal.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

A preliminary version of this paper has appeared in the proceedings of WG 2021 [1]. This journal version contains proofs which were omitted in the conference version and an additional result - hardness of subgraph complement to \(C_7\)-free graphs.

Partially supported by SERB Grant SRG/2019/002276: “Complexity Dichotomies for Graph Modification Problems”, and IFCAM project MA/IFCAM/18/39 “Applications of graph homomorphisms”

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Antony, D., Garchar, J., Pal, S. et al. On Subgraph Complementation to H-free Graphs. Algorithmica 84, 2842–2870 (2022). https://doi.org/10.1007/s00453-022-00991-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-022-00991-3

Keywords

Navigation