Abstract
We consider pattern matching problems where patterns are presented as sequences of constraints on input elements. Given an infinite alphabet A, a pattern P is a sequence \(\left\langle {{p_{{i_1}}},{p_{{i_2}}},...{p_{{i_m}}}} \right\rangle\) of predicates defined on A. The pattern P matches an input sequence t ∈ A* if t = µ x 1 x 2 … x m v such that pij, (x j ) = true, j = 1, 2,…, m for some µ, v∈A*.
We address the following problem: given a pattern P and an input sequence t, find all positions in t where P matches t. We present an on-line algorithm that solves the problem in general and give an efficient linear-time algorithm for some classes of patterns. The proposed algorithms can be used for efficient on-line pattern matching in digitized presentation of continuous reality such as, for example, digitized images and sounds, or noisy telemetric data.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho, Algorithms for Finding Patterns in Strings. In Handbook of Theoretical Computer Science, vol. A, J. van Leeuwen, ed., Elsevier Science Publishers, 255–300, 1990.
M. Crochemore and W. Rytter, Text Algorithms, Oxford University Press, 1994.
M. Crochemore and C. Hancart, Automata for Matching Patterns. In Handbook of Formal Languages, vol. 2, G. Rozenberg and A. Salomaa, eds., Springer-Verlag, 399–462, 1997.
M. Crochemore and C. Hancart, Pattern Matching in Strings. In Algorithms and Theory of Computation Handbook, M. J. Atallah, ed., CRC Press, Boca Raton, 11.1–11.28, 1998.
M. Crochemore and T. Lecroq, Pattern Matching and Text Compression Algorithms. In The Computer Science and Engineering Handbook, A. B. Tucker, ed., CRC Press, 162–202, 1997.
D. E. Knuth, J. Morris, and V. Pratt, Fast Pattern Matching in Strings, SIAM Journal on Computing 6 (1977), 323–350.
G. M. Landau and U. Vishkin, Pattern Matching in a Digitized Image, Algorithmica 12 (1994), 375 - 408.
U. Manber and G. Myers, Suffix Arrays: a New Method for On-line String Searches, SIAM Journal on Computing 22 (1993), 935 - 948.
J.P. Morrill, Distributed Recognition of Patterns in Time Series Data, Communication of the ACM, 41 (1998), 45–51.
R. E. Tarjan, Amortized Computational Complexity, SIAM Journal on Algebraic and Discrete Methods, 6 (1985), 306 - 318.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1999 Springer-Verlag London
About this paper
Cite this paper
Oleshchuk, V.A. (1999). On-line Constraint-based Pattern Matching on Sequences. In: Ding, C., Helleseth, T., Niederreiter, H. (eds) Sequences and their Applications. Discrete Mathematics and Theoretical Computer Science. Springer, London. https://doi.org/10.1007/978-1-4471-0551-0_25
Download citation
DOI: https://doi.org/10.1007/978-1-4471-0551-0_25
Publisher Name: Springer, London
Print ISBN: 978-1-85233-196-2
Online ISBN: 978-1-4471-0551-0
eBook Packages: Springer Book Archive