arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.03949cs.DB
收藏

时间复杂度为O(1)

Skyline Queries in O(1) time?

Spyros Sioutas, Kostas Tsichlas, Andreas Kosmatopoulos, Apostolos N. Papadopoulos, Dimitrios Tsoumakos, Katerina Doka

摘要:

点集$P$($SKY(P)$)的天际线由关于属性值的最小化或最大化的“最佳”点组成。一个点$p$优于另一个点$q$,如果$p$在所有维度上与$q$一样好,并且它在至少一个维度上严格优于$q$。在这项工作中,我们专注于静态$2$ -d空间,并提供预期的性能保证$3$侧范围天际线的网格上,其中$N$是基数的$P$,$B$的大小的磁盘块,和$R$的主存容量。我们提出的MLR树,它提供了最佳的预期成本,寻找平面天际线点的$3$边的查询矩形,$q=[a,b]\times(-\infty,d]$,在RAM和I/O模型上的网格$[1,M]\times [1,M]$,通过单扫描只包含在$SKY(P)$中的点。特别地,它支持在$O(t\cdot t_{PAM}(N))$时间($O((t/B)\cdot t_{PAM}(N))$ I/O)中在$3$侧范围内的skyline查询,其中$t$是回答大小,而$t_{PAM}(N)$是在PAM(前驱访问方法)结构中回答针对$d$的前驱查询所需的时间,PAM结构是MLR树的特殊组件并且有效地存储根到叶路径或子路径。通过在$x$和$y$坐标的离散随机分布下为前导查询选择具有$O(1)$期望时间的PAM结构,MLR-树以高概率支持最佳$O(t)$期望时间($O(t/B)$期望I/O数)的skyline查询。空间成本成为超线性的,并可以减少到线性的许多特殊的实际情况。如果我们选择一个PAM结构与$O(1)$摊销的时间为批量的前导查询(在没有假设的$x$和$y$坐标的分布),MLR树支持批量skyline查询在最佳的$O(t)$摊销的时间,但空间成为指数。在动态情况下,更新时间复杂度受$O(log^{2}N)$因子影响。

英文摘要:

The skyline of a set $P$ of points ($SKY(P)$) consists of the "best" points with respect to minimization or maximization of the attribute values. A point $p$ dominates another point $q$ if $p$ is as good as $q$ in all dimensions and it is strictly better than $q$ in at least one dimension. In this work, we focus on the static $2$-d space and provide expected performance guarantees for $3$-sided Range Skyline Queries on the Grid, where $N$ is the cardinality of $P$, $B$ the size of a disk block, and $R$ the capacity of main memory. We present the MLR-tree, which offers optimal expected cost for finding planar skyline points in a $3$-sided query rectangle, $q=[a,b]\times(-\infty,d]$, in both RAM and I/O model on the grid $[1,M]\times [1,M]$, by single scanning only the points contained in $SKY(P)$. In particular, it supports skyline queries in a $3$-sided range in $O(t\cdot t_{PAM}(N))$ time ($O((t/B)\cdot t_{PAM}(N))$ I/Os), where $t$ is the answer size and $t_{PAM}(N)$ the time required for answering predecessor queries for $d$ in a PAM (Predecessor Access Method) structure, which is a special component of MLR-tree and stores efficiently root-to-leaf paths or sub-paths. By choosing PAM structures with $O(1)$ expected time for predecessor queries under discrete $μ$-random distributions of the $x$ and $y$ coordinates, MLR-tree supports skyline queries in optimal $O(t)$ expected time ($O(t/B)$ expected number of I/Os) with high probability. The space cost becomes superlinear and can be reduced to linear for many special practical cases. If we choose a PAM structure with $O(1)$ amortized time for batched predecessor queries (under no assumption on distributions of the $x$ and $y$ coordinates), MLR-tree supports batched skyline queries in optimal $O(t)$ amortized time, however the space becomes exponential. In dynamic case, the update time complexity is affected by a $O(log^{2}N)$ factor.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑