Optimal Planar Orthogonal Skyline Counting Queries

  • Gerth Stølting Brodal
  • Kasper Green Larsen
Part of the Lecture Notes in Computer Science book series (LNCS, volume 8503)


The skyline of a set of points in the plane is the subset of maximal points, where a point (x,y) is maximal if no other point (x′,y′) satisfies x′ ≥ x and y′ ≥ y. We consider the problem of preprocessing a set P of n points into a space efficient static data structure supporting orthogonal skyline counting queries, i.e. given a query rectangle R to report the size of the skyline of P ∩ R. We present a data structure for storing n points with integer coordinates having query time \(O(\lg n/\lg\lg n)\) and space usage O(n) words. The model of computation is a unit cost RAM with logarithmic word size. We prove that these bounds are the best possible by presenting a matching lower bound in the cell probe model with logarithmic word size: Space usage \(n\lg^{O(1)} n\) implies worst case query time \(\Omega(\lg n/\lg\lg n)\).


Query Time Space Usage Skyline Query Rightmost Point Orthogonal Range 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Chan, T.M., Larsen, K.G., Pătraşcu, M.: Orthogonal range searching on the RAM, revisited. In: 27th ACM Symposium on Computational Geometry, pp. 1–10. ACM (2011)Google Scholar
  2. 2.
    JáJá, J., Mortensen, C.W., Shi, Q.: Space-efficient and fast algorithms for multidimensional dominance reporting and counting. In: Fleischer, R., Trippen, G. (eds.) ISAAC 2004. LNCS, vol. 3341, pp. 558–568. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  3. 3.
    Pătraşcu, M.: Lower bounds for 2-dimensional range counting. In: 39th Annual ACM Symposium on Theory of Computing, pp. 40–46. ACM (2007)Google Scholar
  4. 4.
    Pătraşcu, M., Thorup, M.: Time-space trade-offs for predecessor search. In: 38th Annual ACM Symposium on Theory of Computing, pp. 232–240. ACM (2006)Google Scholar
  5. 5.
    Alstrup, S., Brodal, G.S., Rauhe, T.: New data structures for orthogonal range searching. In: 41st Annual Symposium on Foundations of Computer Science, pp. 198–207. IEEE Computer Society (2000)Google Scholar
  6. 6.
    Das, A.S., Gupta, P., Kalavagattu, A.K., Agarwal, J., Srinathan, K., Kothapalli, K.: Range aggregate maximal points in the plane. In: Rahman, M. S., Nakano, S.-i. (eds.) WALCOM 2012. LNCS, vol. 7157, pp. 52–63. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  7. 7.
    Kalavagattu, A.K., Agarwal, J., Das, A.S., Kothapalli, K.: Counting range maxima points in plane. In: Arumugam, S., Smyth, W.F. (eds.) IWOCA 2012. LNCS, vol. 7643, pp. 263–273. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  8. 8.
    Das, A.S., Gupta, P., Srinathan, K.: Counting maximal points in a query orthogonal rectangle. In: Ghosh, S.K., Tokuyama, T. (eds.) WALCOM 2013. LNCS, vol. 7748, pp. 65–76. Springer, Heidelberg (2013)CrossRefGoogle Scholar
  9. 9.
    Brodal, G.S., Tsakalidis, K.: Dynamic planar range maxima queries. In: Aceto, L., Henzinger, M., Sgall, J. (eds.) ICALP 2011, Part I. LNCS, vol. 6755, pp. 256–267. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  10. 10.
    Kalavagattu, A.K., Das, A.S., Kothapalli, K., Srinathan, K.: On finding skyline points for range queries in plane. In: 23rd Annual Canadian Conference on Computational Geometry (2011)Google Scholar
  11. 11.
    Nekrich, Y., Navarro, G.: Sorted range reporting. In: Fomin, F.V., Kaski, P. (eds.) SWAT 2012. LNCS, vol. 7357, pp. 271–282. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  12. 12.
    Yao, A.C.C.: Should tables be sorted? Journal of the ACM 28(3), 615–628 (1981)CrossRefzbMATHGoogle Scholar
  13. 13.
    Pǎtraşcu, M.: Unifying the landscape of cell-probe lower bounds. SIAM Journal on Computing 40(3), 827–847 (2011)CrossRefMathSciNetGoogle Scholar
  14. 14.
    Beame, P., Fich, F.E.: Optimal bounds for the predecessor problem. In: 31st Annual ACM Symposium on Theory of Computing, pp. 295–304. ACM (1999)Google Scholar
  15. 15.
    Raman, R., Raman, V., Rao, S.S.: Succinct indexable dictionaries with applications to encoding k-ary trees and multisets. In: 13th Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 233–242. SIAM (2002)Google Scholar
  16. 16.
    Raman, R., Raman, V., Satti, S.R.: Succinct indexable dictionaries with applications to encoding k-ary trees, prefix sums and multisets. ACM Transactions on Algorithms 3(4) (2007)Google Scholar
  17. 17.
    Sadakane, K.: Succinct data structures for flexible text retrieval systems. Journal of Discrete Algorithms 5(1), 12–22 (2007)CrossRefzbMATHMathSciNetGoogle Scholar
  18. 18.
    Fischer, J.: Optimal succinctness for range minimum queries. In: López-Ortiz, A. (ed.) LATIN 2010. LNCS, vol. 6034, pp. 158–169. Springer, Heidelberg (2010)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  • Gerth Stølting Brodal
    • 1
  • Kasper Green Larsen
    • 1
  1. 1.MADALGO, Department of Computer ScienceAarhus UniversityDenmark

Personalised recommendations