Skip to main content

Three Heuristics for δ-Matching: δ-BM Algorithms

  • Conference paper
  • First Online:
Combinatorial Pattern Matching (CPM 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2373))

Included in the following conference series:

Abstract

We consider a version of pattern matching useful in processing large musical data: δ-matching, which consists in finding matches which are δ-approximate in the sense of the distance measured as maximum difference between symbols. The alphabet is an interval of integers, and the distance between two symbols a, b is measured as |a - b|. We present δ-matching algorithms fast on the average providing that the pattern is “non-flat”and the alphabet interval is large. The pattern is “flat” if its structure does not vary substantially. We also consider (δ,γ)-matching, where γ is a bound on the total number of errors. The algorithms, named δ-BM1, δ-BM2 and δ-BM3 can be thought as members of the generalized Boyer-Moore family of algorithms. The algorithms are fast on average. This is the first paper on the subject, previously only “occurrence heuristics” have been considered. Our heuristics are much stronger and refer to larger parts of texts (not only to single positions).

The work of the three first authors was partially supported by NATO grant PST.CLG.977017.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.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. E. Cambouropoulos, T. Crawford and C. S. Iliopoulos, Pattern Processing in Melodic Sequences: Challenges, Caveats and Prospects, In G. Wiggins, editor, Proceedings of the Artificial Intelligence and Simulation of Behaviour Symposium, The Society for the Study of Artificial Intelligence and Simulation of Behaviour, Edinburgh, UK, pp 42–47, 1999.

    Google Scholar 

  2. E. Cambouropoulos, M. Crochemore, C. S. Iliopoulos, L. Mouchard and Y. J. Pinzon, Algorithms for computing approximate repetitions in musical sequences. In R. Raman and J. Simpson, editors, Proceedings of the 10th Australasian Workshop On Combinatorial Algorithms, Perth, WA, Australia, pp 129–144, 1999.

    Google Scholar 

  3. T. Crawford, C. S. Iliopoulos and R. Raman, String Matching Techniques for Musical Similarity and Melodic Recognition, Computing in Musicology 11 (1998) 73–100.

    Google Scholar 

  4. M. Crochemore, A. Czumaj, L. Gcasieniec, S. Jarominek, T. Lecroq, W. Plandowski and W. Rytter, Speeding-up two string matching algorithms, Algorithmica 12(4/5) (1994) 247–267.

    Article  MATH  MathSciNet  Google Scholar 

  5. M. Crochemore, C. S. Iliopoulos, T. Lecroq and Y. J. Pinzon, Approximate string matching in musical sequences, In M. Balík and M. Simánek, editors, Proceedings of the Prague Stringology Conference’01, Prague, Tcheque Republic, 2001, Annual Report DC-2001-06, 26-36.

    Google Scholar 

  6. V. Fischetti, G. Landau, J. Schmidt and P. Sellers, Identifying periodic occurrences of a template with applications to protein structure, Proceedings of the 3rd Combinatorial Pattern Matching, Lecture Notes in Computer Science 644, pp. 111–120, 1992.

    Google Scholar 

  7. S. Karlin, M. Morris, G. Ghandour and M.-Y. Leung, Efficient algorithms for molecular sequences analysis, Proc. Natl. Acad. Sci. USA 85 (1988) 841–845.

    Article  MATH  Google Scholar 

  8. P. McGettrick, MIDIMatch: Musical Pattern Matching in Real Time, MSc Dissertation, York University, UK, 1997.

    Google Scholar 

  9. A. Milosavljevic and J. Jurka, Discovering simple DNA sequences by the algorithmic significance method, Comput. Appl. Biosci. 9 (1993) 407–411.

    Google Scholar 

  10. P. A. Pevzner and W. Feldman, Gray Code Masks for DNA Sequencing by Hybridization, Genomics 23 (1993) 233–235.

    Google Scholar 

  11. P. Y. Rolland and J. G. Ganascia, Musical Pattern Extraction and Similarity Assessment, In E. Miranda, editor, Readings in Music and Artificial Intelligence, Harwood Academic Publishers, 1999.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Crochemore, M., Iliopoulos, C.S., Lecroq, T., Plandowski, W., Rytter, W. (2002). Three Heuristics for δ-Matching: δ-BM Algorithms. In: Apostolico, A., Takeda, M. (eds) Combinatorial Pattern Matching. CPM 2002. Lecture Notes in Computer Science, vol 2373. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45452-7_16

Download citation

  • DOI: https://doi.org/10.1007/3-540-45452-7_16

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43862-5

  • Online ISBN: 978-3-540-45452-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics