A fully dynamic algorithm for the recognition of P4-sparse graphs

  • Authors:
  • Stavros D. Nikolopoulos;Leonidas Palios;Charis Papadopoulos

  • Affiliations:
  • Department of Computer Science, University of Ioannina, P.O. Box 1186, GR-45110 Ioannina, Greece;Department of Computer Science, University of Ioannina, P.O. Box 1186, GR-45110 Ioannina, Greece;Department of Mathematics, University of Ioannina, P.O. Box 1186, GR-45110 Ioannina, Greece

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2012

Quantified Score

Hi-index 5.23

Visualization

Abstract

In this paper, we solve the dynamic recognition problem for the class of P"4-sparse graphs: the objective is to handle edge/vertex additions and deletions, to recognize if each such modification yields a P"4-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 P"4-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 P"4-sparse graphs.