Skip to main navigation Skip to search Skip to main content

Optimal speedups for parallel pattern matching in trees

  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

5 Scopus citations

Abstract

Tree pattern matching is a fundamental operation that is used in a number of programming tasks such as code optimization in compilers, symbolic computation, automatic theorem proving and term rewriting. An important special case of this operation is linear tree pattern matching in which an instance of any variable in the pattern occurs at most once. If n and m are the number of nodes in the subject and pattern tree respectively and if no restriction is placed on the structure of the trees, then the fastest known sequential algorithm for linear tree pattern matching requires O(nm) time in the worst case. In this paper we present a parallel algorithm for linear tree pattern matching on a PRAM (parallel random access machine) model. Our algorithm exhibits optimal speedup, in the sense that its processor-time product matches the worst-case time complexity of the fastest sequential algorithm.

Original languageEnglish
Title of host publicationRewriting Techniques and Applications, Proceedings
EditorsPierre Lescanne
PublisherSpringer Verlag
Pages274-285
Number of pages12
ISBN (Print)9783540172208
DOIs
StatePublished - 1987
Event2nd International Conference on Rewriting Techniques and Applications, RTA 1987 - Bordeaux, France
Duration: May 25 1987May 27 1987

Publication series

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

Conference

Conference2nd International Conference on Rewriting Techniques and Applications, RTA 1987
Country/TerritoryFrance
CityBordeaux
Period05/25/8705/27/87

Fingerprint

Dive into the research topics of 'Optimal speedups for parallel pattern matching in trees'. Together they form a unique fingerprint.

Cite this