Article ID Journal Published Year Pages File Type
434900 Theoretical Computer Science 2012 17 Pages PDF
Abstract

In this paper, we solve the dynamic recognition problem for the class of P4-sparse graphs: the objective is to handle edge/vertex additions and deletions, to recognize if each such modification yields a P4-sparse graph, and if yes, to update a representation of the graph. Our approach relies on maintaining the modular decomposition tree of the graph, which we use for solving the recognition problem. We establish properties for each modification to yield a P4-sparse graph and obtain a fully dynamic recognition algorithm which handles edge modifications in O(1) time and vertex modifications in O(d) time for a vertex of degree d. Thus, our algorithm implies an optimal edges-only dynamic algorithm and a new optimal incremental algorithm for P4-sparse graphs.

Related Topics
Physical Sciences and Engineering Computer Science Computational Theory and Mathematics