Generalized Pattern Matching Statistics

  • Jérémie Bourdon
  • Brigitte Vallée
Conference paper
Part of the Trends in Mathematics book series (TM)


In pattern matching algorithms, a characteristic parameter is the number of occurrences of a given pattern in a random text of length n generated by a source. We consider here a generalization of the pattern matching problem in two ways. First, we deal with a generalized notion of pattern that encompasses classical patterns as well as “hidden patterns”. Second, we consider a quite general probabilistic model of sources that may possess a high degree of correlations. Such sources are built with dynamical systems and are called dynamical sources. We determine the mean and the variance of the number of occurrences in this generalized pattern matching problem, and establish a property of concentration of distribution. These results are obtained via combinatorics, formal language techniques, and methods of analytic combinatorics based on generating operators and generating functions. The generating operators come from the dynamical system framework and generate themselves generating functions. The motivation to study this problem comes from an attempt at finding a reliable threshold for intrusion detections, from textual data processing applications, and from molecular biology.


Generate Operator Intrusion Detection Pattern Match Regular Language Dynamical Source 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. [1]
    A. Apostolico and M. Atallah, Compact Recognizers of Episode Sequences, Submitted to Information and Computation. Google Scholar
  2. [2]
    E. Bender and F. Kochman, The Distribution of Subword Counts is Usually Normal European Journal of Combinatorics 14, 265–275, 1993.MathSciNetzbMATHCrossRefGoogle Scholar
  3. [3]
    J. Bourdon, Size and Path-length of Patricia Tries: Dynamical Sources Context Random Structures and Algorithms Vol 19 (3–4), 289–315, 2001.MathSciNetzbMATHCrossRefGoogle Scholar
  4. [4]
    J. Bourdon, B. Vallée, Dynamical Sources in Information Theory: Motif Statistics, not published.Google Scholar
  5. [5]
    J. Bourdon, B. Daireaux, B. Vallée, Dynamical Analysis of a-Euclidean Algorithms, submitted.Google Scholar
  6. [6]
    J. Clément, P. Flajolet, and B. Vallée, Dynamical Sources in Information Theory: A General Analysis of Trie Structures Algorithmica 29, 307–369, 2001.MathSciNetzbMATHCrossRefGoogle Scholar
  7. [7]
    M. Crochemore and W. Rytter Text Algorithms Oxford University Press, New York, 1994.zbMATHGoogle Scholar
  8. [8]
    Ph Flajolet, Y. Guivarch, W. Szpankowski and B. Vallée, Hidden Pattern Statistics,Proc. of ICALP’2001 LNCS 2076, 152–165, 2001.Google Scholar
  9. [9]
    L. Guibas and A. M. Odlyzko, Periods in Strings J. Combinatorial Theory Ser. A, 30, 19–43, 1981.MathSciNetzbMATHGoogle Scholar
  10. [10]
    L. Guibas and A. M. Odlyzko, String Overlaps, Pattern Matching and Non-transitive Games J. Combinatorial Theory Ser. A, 30, 183–208, 1981.MathSciNetzbMATHGoogle Scholar
  11. [11]
    D. E. Knuth The Art of Computer Programming Fundamental Algorithms Vol. 1, Third Edition, Addison-Wesley, Reading, MA, 1997.Google Scholar
  12. [12]
    S. Kumar and E.H. Spafford, A Pattern-Matching Model for Intrusion Detection Proceedings of the National Computer Security Conference 11–21, 1994.Google Scholar
  13. [13]
    P. Nicodème, B. Salvy, and P. Flajolet, Motif Statistics European Symposium on Algorithms Lecture Notes in Computer Science No. 1643, 194–211, 1999.CrossRefGoogle Scholar
  14. [14]
    M. Régnier and W. Szpankowski, On the Approximate Pattern Occurrences in a Text, Proc. Compression and Complexity of SEQUENCE’97, IEEE Computer Society, 253–264, Positano, 1997.Google Scholar
  15. [15]
    M. Régnier and W. Szpankowski, On Pattern Frequency Occurrences in a Markovian Sequence Algorithmica 22, 631–649, 1998.MathSciNetzbMATHCrossRefGoogle Scholar
  16. [16]
    I. Rigoutsos, A. Floratos, L. Parida, Y. Gao and D. Platt, The Emergence of Pattern Discovery Techniques in Computational Biology Metabolic Engineering 2, 159–177, 2000.CrossRefGoogle Scholar
  17. [17]
    R. Sedgewick and P. Flajolet An Introduction to the Analysis of Algorithms Addison-Wesley, Reading, MA, 1995.Google Scholar
  18. [18]
    W. Szpankowski, Average Case Analysis of Algorithms on Sequences, John Wiley & Sons, New York, 2001.CrossRefGoogle Scholar
  19. [19]
    B. Vallée, Dynamical Sources in Information Theory: Fundamental Intervals and Word Prefixes Algorithmica 29, 262–306, 2001.MathSciNetzbMATHCrossRefGoogle Scholar
  20. [20]
    B. Vallée, Dynamical Analysis of a Class of Euclidean Algorithms, to appear in Theoretical Computer Science (2002), also available in Les cahiers du GREYC 2000.Google Scholar
  21. [21]
    B. Vallée, Digits and Continuants in Euclidean Algorithms. Ergodic Versus Tauberian Theorems, JTNB 12, 531–570, 2000.zbMATHGoogle Scholar
  22. [22]
    A. Vanet, L. Marsan, and M.-F. Sagot, Promoter sequences and algorithmical methods for identifying them Res. Microbiol. 150, 779–799, 1999.CrossRefGoogle Scholar
  23. [23]
    M. Waterman Introduction to Computational Biology Chapman and Hall, London, 1995.zbMATHGoogle Scholar

Copyright information

© Springer Basel AG 2002

Authors and Affiliations

  • Jérémie Bourdon
    • 1
  • Brigitte Vallée
    • 1
  1. 1.GREYC—UMR 6072Université de CaenCaenFrance

Personalised recommendations