Computing all subtree repeats in ordered trees

  • Authors:
  • Michalis Christou;Maxime Crochemore;Tomáš Flouri;Costas S. Iliopoulos;Jan JanoušEk;BořIvoj Melichar;Solon P. Pissis

  • Affiliations:
  • Dept. of Informatics, Kings College London, UK;Dept. of Informatics, Kings College London, UK and Université Paris-Est, France;Dept. of Theoretical Computer Science, Czech Technical University in Prague, Czech Republic and Heidelberg Institute for Theoretical Studies, Germany;Dept. of Informatics, Kings College London, UK and Dept. of Mathematics & Statistics, University of Western Australia, Australia;Dept. of Theoretical Computer Science, Czech Technical University in Prague, Czech Republic;Dept. of Theoretical Computer Science, Czech Technical University in Prague, Czech Republic;Heidelberg Institute for Theoretical Studies, Germany and Florida Museum of Natural History, University of Florida, FL, USA

  • Venue:
  • Information Processing Letters
  • Year:
  • 2012

Quantified Score

Hi-index 0.89

Visualization

Abstract

We consider the problem of computing all subtree repeats in a given labeled ordered tree. We first transform the tree to a string representing its postfix notation, and then present an algorithm based on the bottom-up technique to solve it. The proposed algorithm consists of two phases: the preprocessing phase and the phase where all subtree repeats are computed. The linear time and space complexity of the proposed algorithm are important parts of its quality.