Pattern Matching in Trees

304Citations
Citations of this article
68Readers
Mendeley users who have this article in their library.

Abstract

Tree pattern matching is an interesting special problem which occurs as a crucial step im a number of programmmg tasks, for instance, design of interpreters for nonprocedural programming languages, automatic implementations of abstract data types, code optimization m compilers, symbohc computation, context searching in structure editors, and automatic theorem provmg. As with the sorting problem, the variations in requirements and resources for each application seem to preclude a uniform, umversal solution to the tree-pattern-matching problem. Instead, a collection of well-analyzed techmques, from which specific applications may be selected and adapted, should be sought. Five new techniques for tree pattern matching are presented, analyzed for time and space complexity, and compared with previously known methods. Particularly important are applications where the same patterns are matched against many subjects and where a subject may be modified incrementally Therefore, methods which spend some tune preprocessmg patterns in order to improve the actual matching time are included. © 1982, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Hoffmann, C. M., & O’Donnell, M. J. (1982). Pattern Matching in Trees. Journal of the ACM (JACM), 29(1), 68–95. https://doi.org/10.1145/322290.322295

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free