Partial match queries in relaxed multidimensional search trees |
| |
Authors: | C. Martínez A. Panholzer H. Prodinger |
| |
Affiliation: | 1. Departament de Llenguatges i Sistemes Informàtics, Polytechnic University of Catalonia, Jordi Girona 1–3, E-08034, Barcelona, Spain 2. Institut für Algebra und Computermathematik, Technical University of Vienna, Wiedner Hauptstra?e 8–10, A-1040, Vienna, Austria 3. Mathematics Department, University of Witwatersrand, P.O. Wits, 2050, Johannesburg, South Africa
|
| |
Abstract: | ![]() Partial match queries arise frequently in the context of large databases, where each record contains a distinct multidimensional key, that is, the key of each record is aK-tuple of values. The components of a key are called thecoordinates orattributes of the key. In a partial match query we specify the value ofs attributes, 0<s<K, and leave the remainingK —s attributes unspecified. The goal is to retrieve all the records in the database that match the specified attributes. In this paper we present several results about the average performance and variance of partial matches in relaxedK-dimensional trees (search trees and digital tries). These data structures are variants of the well knownK d-trees andK d-tries. In relaxed trees the sequence of attributes used to guide a query is explicitly stored at the nodes of the tree and randomly generated and, in general, will be different for different search paths. In the standard variants, the sequence of attributes that guides a query examines the attributes in a cyclic fashion, fixed and identical for all search paths. We show that the probabilistic analysis of the relaxed multidimensional trees is very similar to that of standardK d-trees andK d-tries, and also to the analysis of quadtrees. In fact, besides the average cost and variance of partial match in relaxedK d-trees andK d-tries, we also obtain the variance of partial matches in two-dimensional quadtrees. We also compute the average cost of partial matches in other relaxed multidimensional digital tries, namely, relaxedK d-Patricia and relaxedK d-digital search trees. This research was supported by Acciones Integradas Hispano-Austríacas HU1997-0016 (Austrian-Spanish Scientific Exchange Program). The first author was also supported by ESPRIT LTR 20244 (ALCOM IT), CICYT TIC97-1475-CE, DGES PB95-0787 (KOALA), and CIRIT 1997SGR-00366 (SGR). The second author was also supported by the Austrian Research Society (FWF) under Project P12599-MAT. Online publication October 13, 2000. |
| |
Keywords: | Analysis of algorithms Multidimensional search trees K-dimensional binary search trees RelaxedK-dimensional search trees Quadtrees |
本文献已被 SpringerLink 等数据库收录! |
|