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, Ioannina, Greece;Department of Computer Science, University of Ioannina, Ioannina, Greece;Department of Informatics, University of Bergen, Bergen, Norway

  • Venue:
  • WG'06 Proceedings of the 32nd international conference on Graph-Theoretic Concepts in Computer Science
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider 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 conditions 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. Moreover, by maintaining the children of each node of the modular decomposition tree in a binomial heap, we can handle vertex deletions in O(log n) time, at the expense of needing O(log n) time for each edge modification and O(d log n) time for the addition of a vertex adjacent to d vertices.