|
ABSTRACT
An algorithm for deletion in two-dimensional quad trees that handles the problem in a manner analogous to deletion in binary search trees is presented. The algorithm is compared with a proposed method for deletion which reinserts all of the nodes in the subtrees of the deleted node. The objective of the new algorithm is to reduce the number of nodes that need to be reinserted. Analysis for complete quad trees shows that the number of nodes requiring reinsertion is reduced to as low as 2/9 of that required by the old algorithm. Simulation tests verify this result. Reduction of the number of insertions has a similar effect on the number of comparison operations. In addition, the total path length (and balance) of the resulting tree is observed to remain constant or increase slightly when the new algorithm for deletion is used, whereas use of the old algorithm results in a significant increase in the total path length for large trees.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
|
| |
2
|
Bentley, J.L., and Stanat, D.F. Analysis of range searches in quad trees. Inform. Proc. Lett. (July 1975) 170-173.
|
| |
3
|
Finkel, R.A., and Bentley, J.L. Quad trees: A data structure for retrieval on composite keys. Acta Informatica, 4 (1974), 1-9.
|
| |
4
|
|
| |
5
|
|
| |
6
|
Lee, D.T., and Wong, C.K. Worst-case analysis for region and partial region searches in multidimensional binary search trees and balanced quad trees. Acta Informatica, 9 (1977), 23-29.
|
| |
7
|
|
| |
8
|
Lueker, G.S. A data structure for orthogonal range queries. Proc. 19th Ann. Symp. Foundations Comptr. Sci., Ann Arbor, Mich., 1978, pp. 28-34.
|
CITED BY 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Claude Puech , Hussein Yahia, Quadtrees, octrees, hyperoctrees: a unified analytical approach to tree data structures used in graphics, geometric modeling and image processing, Proceedings of the first annual symposium on Computational geometry, p.272-280, June 05-07, 1985, Baltimore, Maryland, United States
|
|