English

Online $k$-Taxi via Double Coverage and Time-Reverse Primal-Dual

Data Structures and Algorithms 2020-12-07 v1

Abstract

We consider the online kk-taxi problem, a generalization of the kk-server problem, in which kk servers are located in a metric space. A sequence of requests is revealed one by one, where each request is a pair of two points, representing the start and destination of a travel request by a passenger. The goal is to serve all requests while minimizing the distance traveled without carrying a passenger. We show that the classic Double Coverage algorithm has competitive ratio 2k12^k-1 on HSTs, matching a recent lower bound for deterministic algorithms. For bounded depth HSTs, the competitive ratio turns out to be much better and we obtain tight bounds. When the depth is dkd\ll k, these bounds are approximately kd/d!k^d/d!. By standard embedding results, we obtain a randomized algorithm for arbitrary nn-point metrics with (polynomial) competitive ratio O(kcΔ1/clogΔn)O(k^c\Delta^{1/c}\log_{\Delta} n), where Δ\Delta is the aspect ratio and c1c\ge 1 is an arbitrary positive integer constant. The only previous known bound was O(2klogn)O(2^k\log n). For general (weighted) tree metrics, we prove the competitive ratio of Double Coverage to be Θ(kd)\Theta(k^d) for any fixed depth dd, but unlike on HSTs it is not bounded by 2k12^k-1. We obtain our results by a dual fitting analysis where the dual solution is constructed step-by-step backwards in time. Unlike the forward-time approach typical of online primal-dual analyses, this allows us to combine information from the past and the future when assigning dual variables. We believe this method can be useful also for other problems. Using this technique, we also provide a dual fitting proof of the kk-competitiveness of Double Coverage for the kk-server problem on trees.

Keywords

Cite

@article{arxiv.2012.02226,
  title  = {Online $k$-Taxi via Double Coverage and Time-Reverse Primal-Dual},
  author = {Niv Buchbinder and Christian Coester and Joseph and Naor},
  journal= {arXiv preprint arXiv:2012.02226},
  year   = {2020}
}
R2 v1 2026-06-23T20:43:04.056Z