optimal planar orthogonal skyline counting queries gerth stlting brodal and kasper green larsen...
DESCRIPTION
Results Orthogonal rangeSkyline Space (words) QuerySpace (words) Query Reporting n n lg ε n n lg O(1) n k lg ε n k + lglg n (k + lglg n) CLP11 ABR00 PT06 n n lglg n n lg ε n n lg n/lglg n k lg ε n k (lglg n) 2 k lglg n + lg n/lglg n k lglg n k + lg n/lglg n new NN12 new NN12 new DGKASK12 Counting n n lg O(1) n lg n/lglg n JMS04 P07 n lg n n lg 3 n/lglg n n n lg O(1) n lg n lg n/lglg n (lg n/lglg n) DGKASK12 DGS13 new { {TRANSCRIPT
![Page 1: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/1.jpg)
Optimal Planar Orthogonal Skyline Counting Queries
Gerth Stølting Brodal and Kasper Green Larsen
Aarhus University
14th Scandinavian Workshop on Algorithm Theory, Copenhagen, Denmark, July 3, 2014
![Page 2: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/2.jpg)
n pointsk output
orthogonal query range
dominated by 4 points
skyline count = 5
not dominated = skyline point
Assumptions coordinates { 0, 1, ... , n-1 } Unit cost RAM with word size w = (log n)
![Page 3: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/3.jpg)
Results
Orthogonal range SkylineSpace
(words)Query Space
(words)Query
Reportingn
nlgε nnlgO(1) n
klgε nk + lglg n
(k + lglg n)
CLP11ABR00PT06
nnlglg n
nlgε n
nlg n/lglg n
klgε nk(lglg n)2
klglg n + lg n/lglg n
klglg nk + lg n/lglg nk + lg n/lglg n
newNN12new
NN12new
DGKASK12
Counting nnlgO(1) n
lg n/lglg nlg n/lglg n
JMS04P07
nlg nnlg3 n/lglg n
nnlgO(1) n
lg nlg n/lglg nlg n/lglg n
(lg n/lglg n)
DGKASK12DGS13
newnew
{{
![Page 4: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/4.jpg)
topmost point(x,y)
y+1
Basic Geometry – Divide and Conquer
recurse
recurse
![Page 5: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/5.jpg)
Basic Counting – Vertical Slab
11
1
2
2
2
3
3
223
34
3
rightmost
topmost
skyline count = 4 - 2 + 1
topmostrightmost
0
10
02
03
010
1
022
12
prefix sum = 8Data Structure
succinct prefix sumO(n) bits
+succinct
range maximaO(n) bits
![Page 6: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/6.jpg)
Upper Bound
height lg n / lglg n
degree lgε n
Data Structure
succinct fractional cascading on y
O(nlg n) bits
![Page 7: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/7.jpg)
Upper Bound – Multi-slab
1
lgO(ε) npoints
BlockBtop
Bbottom
degree lgε n
2
3
4
5
right
right
top
top
1 3+ tabulation ( blocks have o(lg n) bit signatures )4 5+ single slab queries ( succinct prefix sum )2 lg2ε n multi-slab structures using lglg n bits per block ( succinct prefix sum, range maxima )
![Page 8: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/8.jpg)
Upper Bound – Summary
O(lg n / lglg n) orthogonal skyline countingSpace O(n) words
+ succinct stuff ...
![Page 9: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/9.jpg)
Lower Bound – Skyline CountingReductionReachability in the Butterfly Graph Skyline Counting
Word size lgO(1) n bits, space O(nlgO(1) n) (lg n / lglg n) query
t
000 001 010 011 100 101 110 111
000 001 010 011 100 101 110 111
001 010 011 100 101 110 111
001 010 011 100 101 110 111000
000
s
[-, x] [-, y]
Butterfly Graph
![Page 10: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/10.jpg)
Butterfly Graph dashed edges are deleted s-t paths are unique
t
000 001 010 011 100 101 110 111
000 001 010 011 100 101 110 111
001 010 011 100 101 110 111
001 010 011 100 101 110 111000
000
s
c
a
b
rev(t) 011
100
101
110
000 001 100011010 101 110 111
111
000
001
010
s
a
b
c
2-sided Skyline Range Counting depth of edge aspect ratio of rectangle edge = 1 point, deleted edge = 2 points
![Page 11: Optimal Planar Orthogonal Skyline Counting Queries Gerth Stlting Brodal and Kasper Green Larsen Aarhus University 14th Scandinavian Workshop on Algorithm](https://reader035.vdocuments.us/reader035/viewer/2022081807/5a4d1b737f8b9ab0599b6232/html5/thumbnails/11.jpg)
Results
Orthogonal range SkylineSpace
(words)Query Space
(words)Query
Reportingn
nlgε nnlgO(1) n
klgε nk + lglg n
(k + lglg n)
CLP11ABR00PT06
nnlglg n
nlgε nnlg n/lglg n
klgε nk(lglg n)2
klglg n + lg n/lglg n
klglg nk + lg n/lglg nk + lg n/lglg n
newNN12new
NN12new
DGKASK12
Counting nnlgO(1) n
lg n/lglg nlg n/lglg n
JMS04P07
nlg nnlg3 n/lglg n
nnlgO(1) n
lg nlg n/lglg nlg n/lglg n
(lg n/lglg n)
DGKASK12DGS13
newnew
{{
improve
improve
improve