Affiliation:
1. KAIST, Daejeon, South Korea
2. Chinese University of Hong Kong and KAIST, Daejeon, South Korea
Abstract
This article studies the
MaxRS
problem in spatial databases. Given a set
O
of weighted points and a rectangle
r
of a given size, the goal of the MaxRS problem is to find a location of
r
such that the sum of the weights of all the points covered by
r
is maximized. This problem is useful in many location-based services such as finding the best place for a new franchise store with a limited delivery range and finding the hotspot with the largest number of nearby attractions for a tourist with a limited reachable range. However, the problem has been studied mainly in the theoretical perspective, particularly in computational geometry. The existing algorithms from the computational geometry community are in-memory algorithms that do not guarantee the scalability. In this article, we propose a scalable external-memory algorithm (
ExactMaxRS
) for the MaxRS problem that is optimal in terms of the I/O complexity. In addition, we propose an approximation algorithm (
ApproxMaxCRS
) for the
MaxCRS
problem that is a circle version of the MaxRS problem. We prove the correctness and optimality of the ExactMaxRS algorithm along with the approximation bound of the ApproxMaxCRS algorithm.
Furthermore, motivated by the fact that all the existing solutions simply assume that there is no
tied
area for the best location, we extend the MaxRS problem to a more fundamental problem, namely
AllMaxRS
, so that all the locations with the same best score can be retrieved. We first prove that the AllMaxRS problem cannot be trivially solved by applying the techniques for the MaxRS problem. Then we propose an output-sensitive external-memory algorithm (
TwoPhaseMaxRS
) that gives the exact solution for the AllMaxRS problem through two phases. Also, we prove both the soundness and completeness of the result returned from TwoPhaseMaxRS.
From extensive experimental results, we show that ExactMaxRS and ApproxMaxCRS are several orders of magnitude faster than methods adapted from existing algorithms, the approximation bound in practice is much better than the theoretical bound of ApproxMaxCRS, and TwoPhaseMaxRS is not only much faster but also more robust than the straightforward extension of ExactMaxRS.
Funder
Research Grants Council, University Grants Committee, Hong Kong
Ministry of Science ICT and Future Planning
Agency for Defense Development
National Research Foundation of Korea
Defense Acquisition Program Administration
Publisher
Association for Computing Machinery (ACM)
Cited by
23 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. GAM: A GPU-Accelerated Algorithm for MaxRS Queries in Road Networks;Journal of Computer Science and Technology;2022-09-30
2. SLAM: Efficient Sweep Line Algorithms for Kernel Density Visualization;Proceedings of the 2022 International Conference on Management of Data;2022-06-10
3. Maximizing Range Sum in Trajectory Data;2022 IEEE 38th International Conference on Data Engineering (ICDE);2022-05
4. Maximum Range-Sum for Dynamically Occurring Objects with Decaying Weights;Advances in Databases and Information Systems;2022
5. MaxiZone: Maximizing Influence Zone Over Geo-Textual Data;IEEE Transactions on Knowledge and Data Engineering;2021-10-01