A note on a tree-based 2D indexing

  • Authors:
  • Jan Žd'árek;Bořivoj Melichar

  • Affiliations:
  • Department of Theoretical Computer Science, Faculty of Information Technology, Czech Technical University in Prague, Praha 6, Czech Republic;Department of Theoretical Computer Science, Faculty of Information Technology, Czech Technical University in Prague, Praha 6, Czech Republic

  • Venue:
  • CIAA'10 Proceedings of the 15th international conference on Implementation and application of automata
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

A new approach to the 2D pattern matching and specifically to 2D text indexing is proposed. We present the transformation of 2D structures into the form of a tree, preserving the context of each element of the structure. The tree can be linearised using the prefix notation into the form of a text (a string) and we do the pattern matching in this text. Over this representation pushdown automata indexing the 2D text are constructed. They allow to search for 2D prefixes, suffixes, or factors of the 2D text in time proportional to the size of the representation of a 2D pattern. This result achieves the properties analogous to the results obtained in tree pattern matching and string indexing.