Tree Template Matching in Ranked Ordered Trees by Pushdown Automata

Tomas Flouri*, Jan Janousek, Borivoj Melichar, Costas S. Iliopoulos, Solon Pissis

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference paper

7 Citations (Scopus)

Abstract

We consider the problem of tree template matching in ranked ordered trees, and propose a solution based on the bottom-up technique. Specifically, we transform the tree pattern matching problem to a string matching problem, by transforming the tree template and the subject tree to strings representing their postfix notation, and then use pushdown automata as the computational model. The method is analogous to the construction of string pattern matchers. The given tree template is preprocessed once, by constructing a nondeterministic pushdown automaton, which is then transformed to the equivalent deterministic one. Although we prove that the space required for preprocessing is exponential to the size of the tree template in the general case, the space required for a specific class of tree templates is linear. The time required for the searching phase is linear to the size of the subject tree in both cases.

Original languageEnglish
Title of host publicationImplementation and Application of Automata
EditorsB BouchouMarkhoff, P Caron, JM Champarnaud, D Maurel
Place of PublicationBERLIN
PublisherSpringer-Verlag Berlin Heidelberg
Pages273-281
Number of pages9
ISBN (Print)9783642222559
DOIs
Publication statusPublished - 2011
Event16th International Conference on Implementation and Application of Automata (CIAA 2011) - Blois, France
Duration: 13 Jul 201116 Jul 2011

Publication series

NameLecture Notes in Computer Science
PublisherSPRINGER-VERLAG BERLIN
Volume6807
ISSN (Print)0302-9743

Conference

Conference16th International Conference on Implementation and Application of Automata (CIAA 2011)
Country/TerritoryFrance
CityBlois
Period13/07/201116/07/2011

Fingerprint

Dive into the research topics of 'Tree Template Matching in Ranked Ordered Trees by Pushdown Automata'. Together they form a unique fingerprint.

Cite this