Radix Priority Search Tree in Circular Range Searching for GIS

Radix Priority Search Tree in Circular Range Searching for GIS

International Journal of Computer Applications (0975 – 8887) Volume 109 – No. 9, January 2015 Radix Priority Search Tree in Circular Range Searching for GIS Linn Linn Phway Myint Myint Sein University of Computer Studies, Yangon University of Computer Studies, Yangon ABSTRACT all points shall be reported. Such a query can be efficiently This paper presents a method for circular range searching in solved using a regular binary tree, or even a sorted array [8]. 2D geographical data for GIS. The proposed is based on the priority search tree (PST) developed by Edvard T. McCreight 2. RELATED WORK in the mid eighties. The Priority Search Tree is a data Haibo Hu and Dik Lun Lee (2006) consider the structure used for performing semi-infinite range queries. In (hyper)rectangles range and propose the method for efficient the solution presented in this paper, the two operation of PST, in-memory processing and secondary memory pruning Insert operation and EnumerateRectangle are combined for techniques for Range Nearest Neighbor queries in 2D and getting all data-points in a circular range. A query in this new high-dimensional spaces. Their techniques are generalized for data structure returns all points in circlular range. The kRNN queries for getting the k-nearest neighbors for every proposed circular range searching is the querying of all point in the defining range. Their idea is to speed up any type datapoints P which are the subset of dataset R and also of NN query by supporting with auxiliary solution-based locating in the circular range with the radius and the center is index EXO-tree [2]. query point. Jon Louis Bentley and Jerome H. Friedman listed some search methods such as Se Sequential Scan, Projection, Cells, Kd Keywords: Trees, Range Trees, k-ranges and Quad Tree for range Circular Range Search, GIS, Priority Search Tree. searching. They provide not only the methods for attacking multikey searching problems and also display the data 1. INTRODUCTION structures available for solving the particular problem of range Circular range searching is used in extracting surrounding searching [3] services for user’s define distance which is allows user to search for businesses and other requriement services that The min-max priority search tree is the combination of a satisfy the user define geographical constraint. This system binary search tree and a min-max heap. The min-max priority offer many advantages to the users to retrieve the information search tree algorithm to enumerate all maximal empty axis- about their current locaion and retrieve data to get more useful parallel rectangles amongst points in a rectangular region R in informaton near from their location. This system allows users R2 in O(m log n) time with O(1) extra-space, where m is the to access geographic data from portable devices. There is total number of maximal empty rectangles introduced in necessary to defined specific location range so the user can Minati De, Anil Maheshwari, Subhas C. Nandy, Michiel decide to choose their destination more easily and quickly. Smid(2011) [5]. The system provice for searching desired servics on desired Robin Y. Flatland, Charles V. Stewart (2000) present distance range around user according to user preferences. algorithms that obtain efficient overall query times by The areas of computer science where the data is geometric performing novel searches of multiple range trees and computer graphics such as geographic information systems extending k-nn trees. When queries Θ(N) points or require E (GIS) and spatial data structures are important. The data = Ω(N) extensions with other algorithms in two dimensions, structures store a set R of geometric objects such that various the overall retrieval time of their algorithms is O(E+N). Their queries can be answered efficiently. The most widely used research give efficient algorithms for two instances of queries are range queries, which request for all objects in R in extending neighborhood problems stated as extending a query range Q. Another important usage queries is nearest- orthogonal range reporting and extending L∞ k-nearest neighbor queries, where one asks for the object from R closest neighbors [6]. to a query point [4]. Sunil Arya, David M. Mount (2006) show that given a In the case of range searching consists of pre-processing a set bounded range Q of diameter ω and ϵ < 0, an approximate R of objects, in order to determine which objects from R range query. They show that in any fixed dimension d, a set of intersect with a query object, called. For example, R may be a n points in Rd can be preprocessed in O(nlogn) time and O(n) set of points corresponding to the services of the area of city, space, such that approximate queries can be answered in and we want to find the services within a certain latitude and O(logn+(1/ϵ)d) time. They also present a lower bound for longitude range. Range searching problems and data approximate range searching based on partition trees of structures are the basic important study area of computational Ω(logn+(1/ϵ)d−1), which implies optimality for convex ranges geometry and the range searching problem finds applications [7]. not only in areas of geometrical data processing such as This system is possible for users to use GIS and for location geographical information systems (GIS), and computerized searching. In this system, GPS device is used to define and aided drafting (CAD), but also in databases [8]. collect geographic coordinates for all places on earth. A range search is a query where the query key is a range. Download these points onto computer and integrate them with Searching for a range leads to more than one value is being mapping programs. The own Data-Set is created for Yangon reported. In one dimension the data set can be seen as points region which containing the latitude, Longitude. Calculating a on a line, and the query key will be an interval within which Ring Range around a point with user preference distance and generating all latitudes and longitudes at a given circle range 25 International Journal of Computer Applications (0975 – 8887) Volume 109 – No. 9, January 2015 to extract accurate services according to their geographic PROCEDURE InsertPair(VAR t : RPSTPtr; newPr: Pair; coordinates. The specific information according to user is lowerX : KeyRange; uperX : KeyBound); extracted by the preference ring range. VAR 3. PRIORITY SEARCH TREE p : Pair; Priority search tree algorithms can also be used to middleX: KeyRange; enumerating all intersecting pairs of rectangles. Priority search tree, for representing a dynamic set D of ordered pairs BEGIN [x,y] over the set 0,1,…,k-1 of integers and a set of algorithms IF t NIL THEN that operate on the priority search tree to implement the BEGIN following operations [1]: NEW(t);(*adda newleaf node*) InsertPair (x,y): Insert a pair [x,y] into D. t.p : newPr; DeletePair (x,y): Delete a air [x,y] from D. t.left : NIL; MinXInRectangle (x0,x1,y1): Given test integers x0, x1 and y1 t.right: NIL; among all pairs [x,y] in D such that x0≤x≤x1 and y≤y1, END find a pair whose x is minimal. ELSE IF t.p.x newPr.x(*assumesuniquex values*) MaxXInRectangle (x ,x ,y ): Given test integers x , x and y 0 1 1 0 1 1 THEN among all pairs [x,y] in D such that x0≤x≤x1 and y≤y1, find a pair whose x is maximal. BEGIN IF newPr.y t.p.y THEN(*new pair beatsesistingone*) MnYInXRange (x0,x1): Given test integers x0 and x1, among all pairs [x,y] in D such that x0≤x≤, find a pair whose y is BEGIN p : t.p; t.p : newPr END minimal. (*exchange new/ existing*) EnumerateRectangle (x0,x1,y1): Given test integers x0, x1 and ELSE p : newPr; y1, enumerate those pairs [x,y] in D such that x0≤x≤x1 and middleX: (lowerX upperX) DIV 2; y≤y1 [1]. IF p.x middleX Priority search tree have basically two types;(i) Radix Priority THEN InsertPair(t.left,p, lowerX, middleX) Search Tree and (ii)Balanced Priority Search Tree. In our propose system radix priority search tree is emphasized. A ELSE InsertPair(t.right, p, middleX, upperX); radix priority search tree representing a set of n pairs occupies END; O(n) words of storage, where each word is O(log k) bits long. (*ELSE this pair already present, so don't insertit*) In conventional algorithm-analytic terms, a radix priority search tee is a linear-space data structure [1]. END; (*of InsertPair*) The first invariant is a priority queue invariant on y-values. It EnumerateRectangle is a depth-first enumeration that calls the asserts that for any node t in a radix priority search tree, if functionReport whenever a pair is found within the constraint t.left is not NIL then t.p.y ≤ t.left ↑.p.y, and if t.right is not rectangle. Report returns TRUE if the enumeration should NIL then t.p.y ≤ t.right ↑ p.y. This first invariant constrains continue, and FALSE if it should terminate [1]. only direct ancestor-descendant relations; it does not constrain sibling relations at all [1]. EnumerateRectangle return all elements in the rectangle defined by the lines, x=xL, x=xR, y=y0, y=yT, xL≤x≤ xR and 0 The second invariant is a radix search tree invariant on x- ≤ y≤yT. values. It asserts that associated with each node t in a radix priority search tree is an x-interval [lower, upper] within which t.p.x lies.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us