Efficient recognition algorithms for $(1,2)$-, $(2,1)$- and $(2,2)$-graphs
Abstract
A graph is said to be a -graph if its vertex set can be partitioned into independent sets and cliques. It is well established that the recognition problem for -graphs is NP-complete whenever or , while it is solvable in polynomial time otherwise. In particular, for the case , recognition can be carried out in linear time, since split graphs coincide with the class of -graphs, bipartite graphs correspond precisely to -graphs, and -graphs are the complements of -graphs. Recognition algorithms for - and -graphs were provided by Brandst\"adt, Le and Szymczak in 1998, while the case of -graphs was addressed by Feder, Hell, Klein, and Motwani in 1999. In this work, we refine these results by presenting improved recognition algorithms with lower time complexity. Specifically, we reduce the running time from to for -graphs, from to for -graphs, and from to for -graphs. Here, and denote the number of vertices and edges of the input graph , respectively, and denotes the number of edges in the complement of .
Cite
@article{arxiv.2510.17665,
title = {Efficient recognition algorithms for $(1,2)$-, $(2,1)$- and $(2,2)$-graphs},
author = {Flavia Bonomo-Braberman and Min Chih Lin and Ignacio Maqueda},
journal= {arXiv preprint arXiv:2510.17665},
year = {2025}
}
Comments
14 pages, 0 figures