Skip to main content

On-line Constraint-based Pattern Matching on Sequences

  • Conference paper
Sequences and their Applications

Part of the book series: Discrete Mathematics and Theoretical Computer Science ((DISCMATH))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 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.

    Google Scholar 

  2. M. Crochemore and W. Rytter, Text Algorithms, Oxford University Press, 1994.

    MATH  Google Scholar 

  3. 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.

    Google Scholar 

  4. 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.

    Google Scholar 

  5. 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.

    Google Scholar 

  6. D. E. Knuth, J. Morris, and V. Pratt, Fast Pattern Matching in Strings, SIAM Journal on Computing 6 (1977), 323–350.

    Article  MathSciNet  MATH  Google Scholar 

  7. G. M. Landau and U. Vishkin, Pattern Matching in a Digitized Image, Algorithmica 12 (1994), 375 - 408.

    Article  MathSciNet  MATH  Google Scholar 

  8. U. Manber and G. Myers, Suffix Arrays: a New Method for On-line String Searches, SIAM Journal on Computing 22 (1993), 935 - 948.

    Article  MathSciNet  MATH  Google Scholar 

  9. J.P. Morrill, Distributed Recognition of Patterns in Time Series Data, Communication of the ACM, 41 (1998), 45–51.

    Article  Google Scholar 

  10. R. E. Tarjan, Amortized Computational Complexity, SIAM Journal on Algebraic and Discrete Methods, 6 (1985), 306 - 318.

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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

Publish with us

Policies and ethics