English

Cluster Editing on Cographs and Related Classes

Data Structures and Algorithms 2024-12-18 v1 Computational Complexity

Abstract

In the Cluster Editing problem, sometimes known as (unweighted) Correlation Clustering, we must insert and delete a minimum number of edges to achieve a graph in which every connected component is a clique. Owing to its applications in computational biology, social network analysis, machine learning, and others, this problem has been widely studied for decades and is still undergoing active research. There exist several parameterized algorithms for general graphs, but little is known about the complexity of the problem on specific classes of graphs. Among the few important results in this direction, if only deletions are allowed, the problem can be solved in polynomial time on cographs, which are the P4P_4-free graphs. However, the complexity of the broader editing problem on cographs is still open. We show that even on a very restricted subclass of cographs, the problem is NP-hard, W[1]-hard when parameterized by the number pp of desired clusters, and that time no(p/logp)n^{o(p/\log p)} is forbidden under the ETH. This shows that the editing variant is substantially harder than the deletion-only case, and that hardness holds for the many superclasses of cographs (including graphs of clique-width at most 22, perfect graphs, circle graphs, permutation graphs). On the other hand, we provide an almost tight upper bound of time nO(p)n^{O(p)}, which is a consequence of a more general nO(cwp)n^{O(cw \cdot p)} time algorithm, where cwcw is the clique-width. Given that forbidding P4P_4s maintains NP-hardness, we look at {P4,C4}\{P_4, C_4\}-free graphs, also known as trivially perfect graphs, and provide a cubic-time algorithm for this class.

Keywords

Cite

@article{arxiv.2412.12454,
  title  = {Cluster Editing on Cographs and Related Classes},
  author = {Manuel Lafond and Alitzel López Sánchez and Weidong Luo},
  journal= {arXiv preprint arXiv:2412.12454},
  year   = {2024}
}

Comments

28 pages, 3 figures

R2 v1 2026-06-28T20:38:07.968Z