skip to main content
research-article

A scalable algorithm for maximizing range sum in spatial databases

Published:01 July 2012Publication History
Skip Abstract Section

Abstract

This paper investigates the MaxRS problem in spatial databases. Given a set O of weighted points and a rectangular region 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 applications such as finding the best place for a new franchise store with a limited delivery range and finding the most attractive place for a tourist with a limited reachable range. However, the problem has been studied mainly in theory, particularly, in computational geometry. The existing algorithms from the computational geometry community are in-memory algorithms which do not guarantee the scalability. In this paper, we propose a scalable external-memory algorithm (ExactMaxRS) for the MaxRS problem, which is optimal in terms of the I/O complexity. Furthermore, 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. From extensive experimental results, we show that the ExactMaxRS algorithm is two orders of magnitude faster than methods adapted from existing algorithms, and the approximation bound in practice is much better than the theoretical bound of the ApproxMaxCRS algorithm.

References

  1. The R-tree portal. http://www.rtreeportal.org, 2003.Google ScholarGoogle Scholar
  2. L. Arge, M. Knudsen, and K. Larsen. A general lower bound on the I/O-complexity of comparison-based algorithms. In Proceedings of Algorithms and Data Structures (WADS), pages 83--94, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. B. Aronov and S. Har-Peled. On approximating the depth and related problems. In Proceedings of ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 886--894, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. B. M. Chazelle and D. Lee. On a circle placement problem. Computing, 36(1):1--16, 1986. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. H.-J. Cho and C.-W. Chung. Indexing range sum queries in spatio-temporal databases. Information & Software Technology, 49(4):324--331, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. R. A. Chowdhury and V. Ramachandran. Cache-oblivious dynamic programming. In Proceedings of ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 591--600, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. M. de Berg, S. Cabello, and S. Har-Peled. Covering many or few points with unit disks. Theory Comput. Syst., 45(3):446--469, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Z. Drezner. Note---on a modified one-center model. Management Science, 27(7):848--851, 1981.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Y. Du, D. Zhang, and T. Xia. The optimal-location query. In International Symposium of Advances in Spatial and Temporal Databases (SSTD), pages 163--180, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. T. Goodrich, J.-J. Tsay, D. E. Vengroff, and J. S. Vitter. External-memory computational geometry (preliminary version). In Proceedings of Annual Symposium on Foundations of Computer Science (FOCS), pages 714--723, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. H. Imai and T. Asano. Finding the connected components and a maximum clique of an intersection graph of rectangles in the plane. Journal of Algorithms, 4(4):310--323, 1983.Google ScholarGoogle ScholarCross RefCross Ref
  12. M. Jürgens and H.-J. Lenz. The RA*-tree: An improved r-tree with materialized data for supporting range queries on olap-data. In DEXA Workshop, pages 186--191, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. I. Lazaridis and S. Mehrotra. Progressive approximate aggregate queries with a multi-resolution tree structure. In SIGMOD Conference, pages 401--412, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. C. Nandy and B. B. Bhattacharya. A unified algorithm for finding maximum and minimum object enclosing rectangles and cuboids. Computers and Mathematics with Applications, 29(8):45--61, 1995.Google ScholarGoogle ScholarCross RefCross Ref
  15. D. Papadias, P. Kalnis, J. Zhang, and Y. Tao. Efficient olap operations in spatial data warehouses. In International Symposium of Advances in Spatial and Temporal Databases (SSTD), pages 443--459, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. J. B. Rocha-Junior, A. Vlachou, C. Doulkeridis, and K. Nørvåg. Efficient processing of top-k spatial preference queries. PVLDB, 4(2):93--104, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. C. Sheng and Y. Tao. New results on two-dimensional orthogonal range aggregation in external memory. In Proceedings of ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems (PODS), pages 129--139, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. R. C.-W. Wong, M. T. Özsu, P. S. Yu, A. W.-C. Fu, and L. Liu. Efficient method for maximizing bichromatic reverse nearest neighbor. PVLDB, 2(1):1126--1137, 2009. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. T. Xia, D. Zhang, E. Kanoulas, and Y. Du. On computing top-t most influential spatial sites. In Proceedings of International Conference on Very Large Data Bases (VLDB), pages 946--957, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. X. Xiao, B. Yao, and F. Li. Optimal location queries in road network databases. In Proceedings of International Conference on Data Engineering (ICDE), pages 804--815, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. L. Yiu, X. Dai, N. Mamoulis, and M. Vaitis. Top-k spatial preference queries. In Proceedings of International Conference on Data Engineering (ICDE), pages 1076--1085, 2007.Google ScholarGoogle ScholarCross RefCross Ref
  22. D. Zhang, Y. Du, T. Xia, and Y. Tao. Progressive computation of the min-dist optimal-location query. In Proceedings of International Conference on Very Large Data Bases (VLDB), pages 643--654, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Z. Zhou, W. Wu, X. Li, M.-L. Lee, and W. Hsu. Maxfirst for MaxBRkNN. In Proceedings of International Conference on Data Engineering (ICDE), pages 828--839, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library

Recommendations

Comments

Login options

Check if you have access through your login credentials or your institution to get full access on this article.

Sign in

Full Access

  • Published in

    cover image Proceedings of the VLDB Endowment
    Proceedings of the VLDB Endowment  Volume 5, Issue 11
    July 2012
    608 pages

    Publisher

    VLDB Endowment

    Publication History

    • Published: 1 July 2012
    Published in pvldb Volume 5, Issue 11

    Qualifiers

    • research-article

PDF Format

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader