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

树上在线 $k$-服务器问题的时间高效实现

Time Efficient Implementation for Online $k$-server Problem on Trees

Kamil Khadiev, Maxim Yagafarov

AI总结:

针对树上在线 $k$-服务器问题,本文为 Chrobak–Larmore 的最优 $k$-竞争算法给出新实现,将预处理降至 $O(n)$、单次查询降至 $O(k\log k)$,且查询时间与树大小无关。

摘要:

我们研究大小为 $n$ 的树上 $k$-服务器问题的在线算法。Chrobak 和 Larmore 针对该问题提出了一种具有最优竞争比的 $k$-竞争算法。然而,现有实现处理一次查询的时间复杂度为 $O\left(k^2 + k\cdot \log n\right)$ 或 $O\left(k(\log n)^2\right)$,其中 $n$ 是节点数。我们提出该算法的一种新的时间高效实现,其预处理时间复杂度为 $O(n)$,处理一次查询的时间为 $O\left(k\log k\right)$。新算法比两种现有算法都更快,并且查询处理的时间复杂度不依赖于树的大小。

英文摘要:

We consider online algorithms for the $k$-server problem on trees of size $n$. Chrobak and Larmore proposed a $k$-competitive algorithm for this problem that has the optimal competitive ratio. However, the existing implementations have $O\left(k^2 + k\cdot \log n\right)$ or $O\left(k(\log n)^2\right)$ time complexity for processing a query, where $n$ is the number of nodes. We propose a new time-efficient implementation of this algorithm that has $O(n)$ time complexity for preprocessing and $O\left(k\log k\right)$ time for processing a query. The new algorithm is faster than both existing algorithms and the time complexity for query processing does not depend on the tree size.

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

↑