Skip to main content

Efficient Algorithms for Top-k Stabbing Queries on Weighted Interval Data

  • Conference paper
  • First Online:
Database and Expert Systems Applications (DEXA 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14910))

Included in the following conference series:

  • 382 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    Some applications may prefer smaller weights, and our algorithms can deal with this case.

  2. 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

  1. Agarwal, P.K., Arge, L., Yi, K.: An optimal dynamic interval stabbing-max data structure? In: SODA, pp. 803–812 (2005)

    Google Scholar 

  2. Amagata, D.: Independent range sampling on interval data. In: ICDE (2024)

    Google Scholar 

  3. 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)

  4. Behrend, A., et al.: Period index: a learned 2D hash index for range and duration queries. In: SSTD, pp. 100–109 (2019)

    Google Scholar 

  5. Christodoulou, G., Bouros, P., Mamoulis, N.: HINT: a hierarchical index for intervals in main memory. In: SIGMOD, pp. 1257–1270 (2022)

    Google Scholar 

  6. 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

    Article  Google Scholar 

  7. De Berg, M.: Computational Geometry: Algorithms and Applications (2000). https://doi.org/10.1007/978-3-540-77974-2

  8. Edelsbrunner, H.: Dynamic Rectangle Intersection Searching (1980)

    Google Scholar 

  9. Xu, J., Lu, H.: Efficiently answer top-k queries on typed intervals. Inf. Syst. 71, 164–181 (2017)

    Article  Google Scholar 

  10. Zhang, Z., Gan, J., Bao, Z., Kazemi, S.M.H., Chen, G., Zhu, F.: Approximate range thresholding. In: SIGMOD, pp. 1108–1121 (2022)

    Google Scholar 

Download references

Acknowledgements

This work was partially supported by AIP Acceleration Research JPMJCR23U2, JST, and JSPS KAKENHI Grant Number 24K14961.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daichi Amagata .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics