• DocumentCode
    3396886
  • Title

    Optimal on-line search and sublinear time update in string matching

  • Author

    Ferragina, Paolo ; Grossi, Roberto

  • Author_Institution
    Dipartimento di Inf., Pisa Univ., Italy
  • fYear
    1995
  • fDate
    23-25 Oct 1995
  • Firstpage
    604
  • Lastpage
    612
  • Abstract
    We study in a dynamic setting the problem of online searching for the occurrences of an arbitrary pattern string P[1,p] in an indexed text string T[1,n]. That is, we assume that the text T may be updated by inserting or deleting an arbitrary string Y[1,y]. Our main contribution is presenting the first dynamic algorithm that achieves optimal time, i.e. Θ(p+occ), to find the occ occurrences of P, and sublinear time per update, i.e. O(√(n+y)), in the worst case. The required space is optimal Θ(n)
  • Keywords
    computational complexity; pattern matching; search problems; string matching; word processing; arbitrary pattern string; arbitrary string; dynamic algorithm; dynamic setting; indexed text string; occ occurrences; online searching; optimal on-line search; optimal online search; optimal time; string matching; sublinear time per update; sublinear time update; Automata; Encoding; Statistics;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Foundations of Computer Science, 1995. Proceedings., 36th Annual Symposium on
  • Conference_Location
    Milwaukee, WI
  • ISSN
    0272-5428
  • Print_ISBN
    0-8186-7183-1
  • Type

    conf

  • DOI
    10.1109/SFCS.1995.492590
  • Filename
    492590