English

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

Data Structures and Algorithms 2024-04-05 v1

Abstract

We consider online algorithms for the kk-server problem on trees of size nn. Chrobak and Larmore proposed a kk-competitive algorithm for this problem that has the optimal competitive ratio. However, the existing implementations have O(k2+klogn)O\left(k^2 + k\cdot \log n\right) or O(k(logn)2)O\left(k(\log n)^2\right) time complexity for processing a query, where nn is the number of nodes. We propose a new time-efficient implementation of this algorithm that has O(n)O(n) time complexity for preprocessing and O(klogk)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.

Keywords

Cite

@article{arxiv.2402.14633,
  title  = {Time Efficient Implementation for Online $k$-server Problem on Trees},
  author = {Kamil Khadiev and Maxim Yagafarov},
  journal= {arXiv preprint arXiv:2402.14633},
  year   = {2024}
}

Comments

TAMC 2024. arXiv admin note: text overlap with arXiv:2008.00270