Abstract

The square of a given graph H=(V,E) is obtained from H by adding an edge between every two vertices at distance two in H. Given a graph class H, the H-Square Root problem asks for the recognition of the squares of graphs in H. In this paper, we answer positively to an open question of [Golovach et al., IWOCA’16] by showing that the squares of cactus-block graphs can be recognized in polynomial time. Our proof is based on new relationships between the decomposition of a graph by cut-vertices and the decomposition of its square by clique cutsets. More precisely, we prove that the closed neighbourhoods of cut-vertices in H induce maximal subgraphs of G=H2 with no clique-cutset. Furthermore, based on this relationship, we can compute from a given graph G the block-cut tree of a desired square root (if any). Although the latter tree is not uniquely defined, we show surprisingly that it can only differ marginally between two different roots. Our approach not only gives the first polynomial-time algorithm for the H-Square Root problem for several graph classes H, but it also provides a unifying framework for the recognition of the squares of trees, block graphs and cactus graphs — among others.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call