Abstract
The Maximizing Range Sum problem is widely applied in facility locating, spatial data mining, and clustering problems. The current most efficient method solves it in time \(O(n\log n)\) for a particular given rectangle size. This is inefficient in cases where the queries are frequently called with different parameters. Thus, in this paper, we propose an index-based method that solves the maxRS query in time \(O(\log n)\) for any given query. Besides, our method can be used to solve the k-enclosing problem in time O(1) for any given k value if indexes are sorted according to the optimizing criteria, or \(O((n-k)^{2}k+n\log n)\) without using any index, which is comparative to the current most efficient work.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
W.l.o.g., we assume that no two points have the same x (or y) coordinate.
- 2.
The proof is obvious and omitted due to space limitation.
- 3.
R1 is dominated by R2 if both the width and height of R1 are larger than or equal to that of R2, the dominance relationship is formally defined in Definition 3.
- 4.
\(L_1\) contains the only point (0, 0).
- 5.
In the pseudocode of Algorithm 2 Line 12, we make the optimization by calling \(RMQ_{T_{k}}(1, |T_k|)\) rather than \(RMQ_{T_{k}}(r-k+1, l)\). We omit the proof here.
- 6.
Based on the property that \( \forall q \in L_{k}\), there exists \(q' \in L_{k-1}\) such that \(q'\) dominates q.
- 7.
References
Imai, H., Asano, T.: Finding the connected components and a maximum clique of an intersection graph of rectangles in the plane. J. Algorithms 4(4), 310–323 (1983)
Nandy, S.C., Bhattacharya, B.B.: A unified algorithm for finding maximum and minimum object enclosing rectangles and cuboids. Math. Appl. 29(8), 45–61 (1995)
Choi, D.W., Chung, C.W., Tao, Y.: A scalable algorithm for maximizing range sum in spatial databases. Proc. VLDB Endow. 5(11), 1088–1099 (2012)
Tao, Y., Hu, X., Choi, D.W., Chung, C.W.: Approximate MaxRS in spatial databases. PVLDB 6(13), 1546–1557 (2013)
Choi, D.W., Chung, C.W., Tao, Y.: Maximizing range sum in external memory. ACM Trans. Database Syst. 39(3), 21:1–21:44 (2014)
Das, A.S., Gupta, P., Srinathan, K., Kothapalli, K.: Finding maximum density axes parallel regions for weighted point sets. In: CCCG (2011)
Goodrich, M.T., Tsay, J.-J., Vengroff, D.E., Vitter, J.S.: External-memory computational geometry (preliminary version). In: FOCS, pp. 714–723 (1993)
Aggarwal, A., Imai, H., Katoh, N., Suri, S.: Finding k points with minimum diameter and related problems. J. Algorithms 12, 38–56 (1991)
Datta, A., Lenhof, H.E., Schwarz, C., Smid, M.: Static and dynamic algorithms for k-point clustering problems. J. Algorithms 19, 474–503 (1995)
Eppstein, D., Erickson, J.: Iterated nearest neighbors and finding minimal polytopes. Discrete Comput. Geom. 11, 321–350 (1994)
Segal, M., Kedem, K.: Enclosing k points in the smallest axis parallel rectangle. Inf. Process. Lett. 65, 95–99 (1998)
Matouek, J.: On geometric optimization with few violated constraints. Discrete Comput. Geom. 14, 365–384 (1995)
Hartigan, J.A.: Clustering Algorithms. Wiley, New York (1975)
Abellanas, M., Hurtado, F., Icking, C., Klein, R., Langetepe, E., Ma, L., Palop, B., Sacristán, V.: Smallest color-spanning objects. In: Meyer auf der Heide, F. (ed.) ESA 2001. LNCS, vol. 2161, pp. 278–289. Springer, Heidelberg (2001)
Efrat, A., Sharir, M., Ziv, A.: Computing the smallest k-enclosing circle and related problems. Comput. Geom. Theory App. 4(3), 119–136 (1994)
Mahapatra, P.R.S., Karmakar, A., Das, S., Goswami, P.P.: k-enclosing axis-parallel square. In: Murgante, B., Gervasi, O., Iglesias, A., Taniar, D., Apduhan, B.O. (eds.) ICCSA 2011, Part III. LNCS, vol. 6784, pp. 84–93. Springer, Heidelberg (2011)
Das, S., Goswami, P.P., Nandy, S.C.: Smallest k-point enclosing rectangle and square of arbitrary orientation. Inf. Process. Lett. 94, 259–266 (2005)
Mukherjee, M., Chakraborty, K.: A polynomial time optimization algorithm for a rectilinear partitioning problem with applications in VLSI design automation. Inf. Process. Lett. 83, 41–48 (2002)
Tiwari, S., Kaushik, H.: Extracting region of interest (ROI) details using LBS infrastructure and web databases. In: MDM 2012, pp. 376–379 (2012)
Acknowledgements
This work was partially done when X. Zhou and W. Wang visited Hong Kong Baptist University. W. Wang was supported by ARC DP 130103401 and 130103405. J. Xu was supported by HK-RGC grants 12201615 and HKBU12202414.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2016 Springer International Publishing Switzerland
About this paper
Cite this paper
Zhou, X., Wang, W., Xu, J. (2016). General Purpose Index-Based Method for Efficient MaxRS Query. In: Hartmann, S., Ma, H. (eds) Database and Expert Systems Applications. DEXA 2016. Lecture Notes in Computer Science(), vol 9827. Springer, Cham. https://doi.org/10.1007/978-3-319-44403-1_2
Download citation
DOI: https://doi.org/10.1007/978-3-319-44403-1_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-44402-4
Online ISBN: 978-3-319-44403-1
eBook Packages: Computer ScienceComputer Science (R0)