A Local Expansion Approach for Continuous Nearest Neighbor Queries

碩士 === 國立中山大學 === 資訊工程學系研究所 === 96 === Queries on spatial data commonly concern a certain range or area, for example, queries related to intersections, containment and nearest neighbors. The Continuous Nearest Neighbor (CNN) query is one kind of the nearest neighbor queries. For example, people may...

Full description

Bibliographic Details
Main Authors: Ta-Wei Liu, 劉大暐
Other Authors: Ye-In Chang
Format: Others
Language:en_US
Published: 2008
Online Access:http://ndltd.ncl.edu.tw/handle/a4dfs2
id ndltd-TW-096NSYS5392014
record_format oai_dc
spelling ndltd-TW-096NSYS53920142018-05-17T04:28:45Z http://ndltd.ncl.edu.tw/handle/a4dfs2 A Local Expansion Approach for Continuous Nearest Neighbor Queries 一個以局部擴張來解決連續最近鄰居問題之方法 Ta-Wei Liu 劉大暐 碩士 國立中山大學 資訊工程學系研究所 96 Queries on spatial data commonly concern a certain range or area, for example, queries related to intersections, containment and nearest neighbors. The Continuous Nearest Neighbor (CNN) query is one kind of the nearest neighbor queries. For example, people may want to know where those gas stations are along the super highway from the starting position to the ending position. Due to that there is no total ordering of spatial proximity among spatial objects, the space filling curve (SFC) approach has proposed to preserve the spatial locality. Chen and Chang have proposed efficient algorithms based on SFC to answer nearest neighbor queries, so we may perform a sequence of individually nearest neighbor queries to answer such a CNN query in the centralized system by one of Chen and Chang''s algorithms. However, each searched range of these nearest neighbor queries could be overlapped, and these queries may access several same pages on the disk, resulting in many redundant disk accesses. On the other hand, Zheng et al. have proposed an algorithm based on the Hilbert curve for the CNN query for the wireless broadcast environment, and it contains two phases. In the first phase, Zheng et al.''s algorithm designs a searched range to find candidate objects. In the second phase, it uses some heuristics to filter the candidate objects for the final answer. However, Zheng et al.''s algorithm may check some data blocks twice or some useless data blocks, resulting in some redundant disk accesses. Therefore, in this thesis, to avoid these disadvantages in the first phase of Zheng et al.''s algorithm, we propose a local expansion approach based on the Peano curve for the CNN query in the centralized system. In the first phase, we determine the searched range to obtain all candidate objects. Basically, we first calculate the route between the starting point and the ending point. Then, we move forward one block from the starting point to the ending point, and locally spread the searched range to find the candidate objects. In the second phase, we use heuristics mentioned in Zheng et al.''s algorithm to filter the candidate objects for the final answer. Based on such an approach, we proposed two algorithms: the forward moving (FM) algorithm and the forward moving* (FM*) algorithm. The FM algorithm assumes that each object is in the center of a block, and the FM* algorithm assumes that each object could be in any place of a block. Our local expansion approach can avoid the duplicated check in Zheng et al.''s algorithm, and determine a searched range with higher accuracy than that of Zhenget al.''s algorithm. From our simulation results, we show that the performance of the FM or FM* algorithm is better than that of Zheng et al.''s algorithm, in terms of the accuracy and the processing time. Ye-In Chang 張玉盈 2008 學位論文 ; thesis 103 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立中山大學 === 資訊工程學系研究所 === 96 === Queries on spatial data commonly concern a certain range or area, for example, queries related to intersections, containment and nearest neighbors. The Continuous Nearest Neighbor (CNN) query is one kind of the nearest neighbor queries. For example, people may want to know where those gas stations are along the super highway from the starting position to the ending position. Due to that there is no total ordering of spatial proximity among spatial objects, the space filling curve (SFC) approach has proposed to preserve the spatial locality. Chen and Chang have proposed efficient algorithms based on SFC to answer nearest neighbor queries, so we may perform a sequence of individually nearest neighbor queries to answer such a CNN query in the centralized system by one of Chen and Chang''s algorithms. However, each searched range of these nearest neighbor queries could be overlapped, and these queries may access several same pages on the disk, resulting in many redundant disk accesses. On the other hand, Zheng et al. have proposed an algorithm based on the Hilbert curve for the CNN query for the wireless broadcast environment, and it contains two phases. In the first phase, Zheng et al.''s algorithm designs a searched range to find candidate objects. In the second phase, it uses some heuristics to filter the candidate objects for the final answer. However, Zheng et al.''s algorithm may check some data blocks twice or some useless data blocks, resulting in some redundant disk accesses. Therefore, in this thesis, to avoid these disadvantages in the first phase of Zheng et al.''s algorithm, we propose a local expansion approach based on the Peano curve for the CNN query in the centralized system. In the first phase, we determine the searched range to obtain all candidate objects. Basically, we first calculate the route between the starting point and the ending point. Then, we move forward one block from the starting point to the ending point, and locally spread the searched range to find the candidate objects. In the second phase, we use heuristics mentioned in Zheng et al.''s algorithm to filter the candidate objects for the final answer. Based on such an approach, we proposed two algorithms: the forward moving (FM) algorithm and the forward moving* (FM*) algorithm. The FM algorithm assumes that each object is in the center of a block, and the FM* algorithm assumes that each object could be in any place of a block. Our local expansion approach can avoid the duplicated check in Zheng et al.''s algorithm, and determine a searched range with higher accuracy than that of Zhenget al.''s algorithm. From our simulation results, we show that the performance of the FM or FM* algorithm is better than that of Zheng et al.''s algorithm, in terms of the accuracy and the processing time.
author2 Ye-In Chang
author_facet Ye-In Chang
Ta-Wei Liu
劉大暐
author Ta-Wei Liu
劉大暐
spellingShingle Ta-Wei Liu
劉大暐
A Local Expansion Approach for Continuous Nearest Neighbor Queries
author_sort Ta-Wei Liu
title A Local Expansion Approach for Continuous Nearest Neighbor Queries
title_short A Local Expansion Approach for Continuous Nearest Neighbor Queries
title_full A Local Expansion Approach for Continuous Nearest Neighbor Queries
title_fullStr A Local Expansion Approach for Continuous Nearest Neighbor Queries
title_full_unstemmed A Local Expansion Approach for Continuous Nearest Neighbor Queries
title_sort local expansion approach for continuous nearest neighbor queries
publishDate 2008
url http://ndltd.ncl.edu.tw/handle/a4dfs2
work_keys_str_mv AT taweiliu alocalexpansionapproachforcontinuousnearestneighborqueries
AT liúdàwěi alocalexpansionapproachforcontinuousnearestneighborqueries
AT taweiliu yīgèyǐjúbùkuòzhāngláijiějuéliánxùzuìjìnlínjūwèntízhīfāngfǎ
AT liúdàwěi yīgèyǐjúbùkuòzhāngláijiějuéliánxùzuìjìnlínjūwèntízhīfāngfǎ
AT taweiliu localexpansionapproachforcontinuousnearestneighborqueries
AT liúdàwěi localexpansionapproachforcontinuousnearestneighborqueries
_version_ 1718640062820777984