Abstract
We present new sequential and CRCW-PRAM parallel algorithms for the incremental text editing problem, in which a text string T=αβγ over an alphabet Σ is dynamically changed to a new text T′=αδγ by replacing the substring β with another string γ, where α,β,γ,δ ∈ Σ *. The dynamically changes of the text axe interleaved with on-line queries for finding the occurrences of a pattern string.
This paper has been supported in part by M.U.R.S.T. of Italy.
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
A. V. Aho. Algorithms for finding patterns in strings, chapter A, 255–300. Handbook of Theoretical Computer Science. MIT press, Cambridge, 1990.
A. V. Aho, J. E. Hopcroft, and J. D. Ullman. The design and analysis of computer algorithms. Addison-Wesley, 1974.
A. Amir, M. Farach. Adaptive dictionary matching. Proc. of IEEE Symposium on Foundations of Computer Science, 760–766, 1991.
A. Apostolico, C. Iliopolus, G. M. Landau, B. Schieber, and U. Vishkin. Parallel construction of a suffix tree with applications. Algorithmica, 3:347–365, 1988.
R. S. Boyer and J. S. Moore. A fast string searching algorithm. Communications of the ACM, 20:762–772, 1977.
B. M. Chazelle. Filtering search: a new approach to query answering. SIAM Journal of Computing, 15:703–724, 1986.
M. T. Chen and J. Seiferas. Efficient and elegant subword tree construction. Combinatorial algorithms in word, 97–107. Springer-Verlag, 1985.
Z. Galil. Optimal parallel algorithms for string matching. Information and Control, 67:144–157, 1985.
M. Gu, M. Farach, and R. Beigel. An efficient algorithm for dynamic text editing. ACM-SIAM Symposium on Discrete Algorithms, 1994.
R. Grossi, F. Luccio, and L. Pagli. Coding trees as strings for approximate tree matching, 245–259. Sequences II: Methods in Communication, Security and Computer Science, 1992.
D. Gusfield, G. M. Landau, and B. Schieber. An efficient algorithm for all pairs suffix-prefix problem. Information Processing Letters, 41:181–185, 1992.
R. Hariharan. Optimal parallel suffix tree construction. ACM Symposium on Theory of Computing, 1994.
C. M. Hoffmann and M. J. O'Donnell. Pattern matching in trees. Journal of the ACM, 29:68–95, 1982.
R. M. Karp and V. Ramachandran. A survey of parallel algorithms for shared memory machines, chapter 17, 869–941. Handbook of Theoretical Computer Science. Elsevier Science Publisher B.V., j. van Leeuwen edition, 1990.
R. Karp, R. Miller, and A. Rosenberg. Rapid identification of repeated patterns in strings, arrays and trees. In Proc. 4th Symposium on Theory of Computing, pages 125–136. ACM, 1972.
M. Kempf, R. Bayer, and U. Guntzer. Time optimal left to right construction of position trees. Acta Informatica, 24:475–489, 1987.
D. E. Knuth, J. H. Morris, and V. R. Pratt. Fast pattern matching in strings. SIAM Journal of Computing, 6(2):63–78, 1977.
S.R. Kosaraju. Efficient tree pattern matching. Proc. IEEE Symposium on Foundations of Computer Science, 178–183, 1989.
E. Mäkinen. On the subtree isomorphism problem for ordered trees. Information Processing Letters, 32:271–273, 1988.
E. M. McCreight. A space-economical suffix tree construction algorithm. Journal of the ACM, 23(2):262–272, 1976.
E. Ukkonen. On-line construction of suffix tree. Technical Report A-1/93, Dept. of Computer Science, University of Helsinki, Finland, 1993.
D. E. Willard. New data structures for orthogonal range queries. SIAM Journal of Computing, 14:232–253, 1985.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1994 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Ferragina, P. (1994). Incremental text editing: a new data structure. In: van Leeuwen, J. (eds) Algorithms — ESA '94. ESA 1994. Lecture Notes in Computer Science, vol 855. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0049434
Download citation
DOI: https://doi.org/10.1007/BFb0049434
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-58434-6
Online ISBN: 978-3-540-48794-4
eBook Packages: Springer Book Archive