A bit-parallel tree matching algorithm for patterns with horizontal VLDC's

Hisashi Tsuji, Akira Ishino, Masayuki Takeda

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

3 Citations (Scopus)

Abstract

The tree pattern matching problem is, given two labeled trees P and T, respectively called pattern tree and target tree, to find all occurrences of P within T. Many studies have been undertaken on this problem for both the cases of ordered and unordered trees. To realize flexible matching, a kind of variable-length-don't-care's (VLDC's) have been introduced. In particular, the path-VLDC's appear in XPath, a language for addressing parts of an XML document. In this paper, we introduce horizontal VLDC's, each matches a sequence of trees whose root nodes are consecutive siblings in ordered trees. We address the tree pattern matching problem for patterns with horizontal VLDC's, In our setting, the target tree is given as a tagged sequence such as XML data stream. We present an algorithm that solves the problem in O(mn) time using O(mh) space, where m and n are the sizes of P and T, respectively, and h is the height of T. We adopt the bit-parallel technique to obtain a practically fast algorithm.

Original languageEnglish
Title of host publicationString Processing and Information Retrieval - 12th International Conference, SPIRE 2005, Proceedings
Pages388-398
Number of pages11
DOIs
Publication statusPublished - 2005
Event12th International Conference on String Processing and Information Retrieval, SPIRE 2005 - Buenos Aires, Argentina
Duration: Nov 2 2005Nov 4 2005

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume3772 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Other

Other12th International Conference on String Processing and Information Retrieval, SPIRE 2005
Country/TerritoryArgentina
CityBuenos Aires
Period11/2/0511/4/05

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint

Dive into the research topics of 'A bit-parallel tree matching algorithm for patterns with horizontal VLDC's'. Together they form a unique fingerprint.

Cite this