Abstract
This paper is concerned with the problem of managing a dynamically changing set of two-dimensional patterns (the dictionary) to support efficient searching for all occurrences of the patterns in a given text. The dictionary has to be updated efficiently when a pattern is inserted or deleted. The contribution of this paper is an improvement to the existing suffix-tree based solution [Gi93] as regards both the update and search algorithms. In comparison with the previously best scheme [AFI+93] (which is non-suffix-tree based), our new solution can perform an update more efficiently, without trading the searching time bound. Our work also gives a clue to improve the solution to the static dictionary matching problem [AF92].
This is a preview of subscription content, log in via an institution.
Preview
Unable to display preview. Download preview PDF.
References
A.V. Aho and M.J. Corasick, Efficient string matching, Comm. ACM 18 (1975) 333–340.
T.J. Baker, A technique for extending rapid exact-match string matching to arrays of more than one dimension, SIAM J. Comput. 7 (1978), 533–541.
A. Amir and M. Farach, Two-dimensional dictionary matching, Information Processing Letters, 44 (1992), 233–239.
A. Amir, M. Farach, R. Giancarlo, Z. Galil and K. Park, Dynamic dictionary matching, Journal of Computer and System Sciences 49 (1994), 208–222.
A. Amir, M. Farach, R.M. Idury, H.A. La Poutre and A.A. Schäffer, Improved dynamic dictionary matching, Proc. of the 4th Annual ACM-SIAM Symposium on Discrete Algorithms, 1993, 392–401.
R. Giancarlo, The suffix of a square matrix, with applications, Proc. of the 4th Annual ACM-SIAM Symposium on Discrete Algorithms, 1993, 402–412.
R. Giancarlo, A generalization of the suffix tree to square matrix, with applications, SIAM Journal of Computing 24 (1995), 520–562.
R. Idury and A.A. Schäffer, Multiple matching of rectangular patterns, Information and Computation, 117 (1995), 78–90.
E.M. McCreight, A space-economical suffix tree construction algorithm, J. ACM 23 (1976), 262–272.
D.D. Sleator and R.E. Tarjan, A data structure for dynamic trees, Journal of Computer and System Sciences 26 (1983), 362–391.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Choi, Y., Lam, T.W. (1996). Two-dimensional dynamic dictionary matching. In: Asano, T., Igarashi, Y., Nagamochi, H., Miyano, S., Suri, S. (eds) Algorithms and Computation. ISAAC 1996. Lecture Notes in Computer Science, vol 1178. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0009484
Download citation
DOI: https://doi.org/10.1007/BFb0009484
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-62048-8
Online ISBN: 978-3-540-49633-5
eBook Packages: Springer Book Archive