森林中的增量边方向
Incremental Edge Orientation in Forests
摘要:
对于任何林$G = (V, E)$,都可以对边$E$进行定向,以使$V$中没有顶点的出度大于$1$。本文考虑了增量边缘定向问题,其中边缘$E$随着时间的推移而到达,并且算法必须始终保持低出度边缘定向。我们给出了一个算法,保持$3$的最大出度,同时翻转最多$O(\log \log n)$边缘方向每个边缘插入,在$n$的概率很高。该算法要求每次插入的最坏情况时间为$O(\log n \log \log n)$,并花费分摊时间$O(1)$。先前的技术水平每次插入需要多达$O(\log n / \log \log n)$边缘翻转。然后,我们将我们的边缘方向的结果动态布谷鸟哈希的问题。设计与Cuckoo散列兼容的散列函数的简单族$\mathcal{H}$的问题受到了广泛的关注。已知这些家族$\mathcal{H}$满足\emph{static guarantees},但是对于插入和删除的运行时间,通常不附带\emph{dynamic guarantees}。我们展示了如何将静态保证($1$ -结合性)转化为接近国家的最先进的动态保证($O(1)$ -结合性)在一个黑盒的方式。与过去的工作不同,我们不依赖于家族$\mathcal{H}$来提供随机性,而是依赖于表维护算法中的随机性。
英文摘要:
For any forest $G = (V, E)$ it is possible to orient the edges $E$ so that no vertex in $V$ has out-degree greater than $1$. This paper considers the incremental edge-orientation problem, in which the edges $E$ arrive over time and the algorithm must maintain a low-out-degree edge orientation at all times. We give an algorithm that maintains a maximum out-degree of $3$ while flipping at most $O(\log \log n)$ edge orientations per edge insertion, with high probability in $n$. The algorithm requires worst-case time $O(\log n \log \log n)$ per insertion, and takes amortized time $O(1)$. The previous state of the art required up to $O(\log n / \log \log n)$ edge flips per insertion. We then apply our edge-orientation results to the problem of dynamic Cuckoo hashing. The problem of designing simple families $\mathcal{H}$ of hash functions that are compatible with Cuckoo hashing has received extensive attention. These families $\mathcal{H}$ are known to satisfy \emph{static guarantees}, but do not come typically with \emph{dynamic guarantees} for the running time of inserts and deletes. We show how to transform static guarantees (for $1$-associativity) into near-state-of-the-art dynamic guarantees (for $O(1)$-associativity) in a black-box fashion. Rather than relying on the family $\mathcal{H}$ to supply randomness, as in past work, we instead rely on randomness within our table-maintenance algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。