Abstract
This paper addresses the problem of processing top-k weighted stabbing queries on interval data. A state-of-the-art algorithm for this problem incurs \(O(n\log k)\) time, where n is the number of intervals, so it is not scalable to large n. We solve this inefficiency issue and propose an algorithm that runs in \(O(\sqrt{n}\log n + k)\) time. Furthermore, we propose an \(O(\log n + k)\) algorithm to further accelerate the search efficiency.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
Some applications may prefer smaller weights, and our algorithms can deal with this case.
- 2.
This idea is not available for the interval tree structure. This is because the interval tree structure does not guarantee that all intervals maintained in a node are stabbed by a given query.
References
Agarwal, P.K., Arge, L., Yi, K.: An optimal dynamic interval stabbing-max data structure? In: SODA, pp. 803–812 (2005)
Amagata, D.: Independent range sampling on interval data. In: ICDE (2024)
Amagata, D., Yamada, J., Ji, Y., Hara, T.: Efficient algorithms for top-k stabbing queries on weighted interval data (full version). arXiv:2405.05601 (2024)
Behrend, A., et al.: Period index: a learned 2D hash index for range and duration queries. In: SSTD, pp. 100–109 (2019)
Christodoulou, G., Bouros, P., Mamoulis, N.: HINT: a hierarchical index for intervals in main memory. In: SIGMOD, pp. 1257–1270 (2022)
Christodoulou, G., Bouros, P., Mamoulis, N.: HINT: a hierarchical interval index for allen relationships. VLDB J. 33, 73–100 (2023). https://doi.org/10.1007/s00778-023-00798-w
De Berg, M.: Computational Geometry: Algorithms and Applications (2000). https://doi.org/10.1007/978-3-540-77974-2
Edelsbrunner, H.: Dynamic Rectangle Intersection Searching (1980)
Xu, J., Lu, H.: Efficiently answer top-k queries on typed intervals. Inf. Syst. 71, 164–181 (2017)
Zhang, Z., Gan, J., Bao, Z., Kazemi, S.M.H., Chen, G., Zhu, F.: Approximate range thresholding. In: SIGMOD, pp. 1108–1121 (2022)
Acknowledgements
This work was partially supported by AIP Acceleration Research JPMJCR23U2, JST, and JSPS KAKENHI Grant Number 24K14961.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Amagata, D., Yamada, J., Ji, Y., Hara, T. (2024). Efficient Algorithms for Top-k Stabbing Queries on Weighted Interval Data. In: Strauss, C., Amagasa, T., Manco, G., Kotsis, G., Tjoa, A.M., Khalil, I. (eds) Database and Expert Systems Applications. DEXA 2024. Lecture Notes in Computer Science, vol 14910. Springer, Cham. https://doi.org/10.1007/978-3-031-68309-1_12
Download citation
DOI: https://doi.org/10.1007/978-3-031-68309-1_12
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-68308-4
Online ISBN: 978-3-031-68309-1
eBook Packages: Computer ScienceComputer Science (R0)