Question: a b c 5.4 Kd-trees can be used for partial match queries. A 2-dimensional partial match query specifies a value for one of the coordinates


a b c
5.4 Kd-trees can be used for partial match queries. A 2-dimensional partial match query specifies a value for one of the coordinates and asks for all points that have that value for the specified coordinate. In higher dimensions we specify values for a subset of the coordinates. Here we allow multiple points to have equal values for coordinates. a. Show that 2-dimensional kd-trees can answer partial match queries in O(Vn+k) time, where k is the number of reported answers. queries. What is the resulting query time? sional partial match queries in O(logn +k) time. b. Explain how to use a 2-dimensional range tree to answer partial match c. Describe a data structure that uses linear storage and solves 2-dimen- 5.4 Kd-trees can be used for partial match queries. A 2-dimensional partial match query specifies a value for one of the coordinates and asks for all points that have that value for the specified coordinate. In higher dimensions we specify values for a subset of the coordinates. Here we allow multiple points to have equal values for coordinates. a. Show that 2-dimensional kd-trees can answer partial match queries in O(Vn+k) time, where k is the number of reported answers. queries. What is the resulting query time? sional partial match queries in O(logn +k) time. b. Explain how to use a 2-dimensional range tree to answer partial match c. Describe a data structure that uses linear storage and solves 2-dimen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
