English

The Online $k$-Taxi Problem

Data Structures and Algorithms 2018-11-07 v2

Abstract

We consider the online kk-taxi problem, a generalization of the kk-server problem, in which kk taxis serve a sequence of requests in a metric space. A request consists of two points ss and tt, representing a passenger that wants to be carried by a taxi from ss to tt. The goal is to serve all requests while minimizing the total distance traveled by all taxis. The problem comes in two flavors, called the easy and the hard kk-taxi problem: In the easy kk-taxi problem, the cost is defined as the total distance traveled by the taxis; in the hard kk-taxi problem, the cost is only the distance of empty runs. The hard kk-taxi problem is substantially more difficult than the easy version with at least an exponential deterministic competitive ratio, Ω(2k)\Omega(2^k), admitting a reduction from the layered graph traversal problem. In contrast, the easy kk-taxi problem has exactly the same competitive ratio as the kk-server problem. We focus mainly on the hard version. For hierarchically separated trees (HSTs), we present a memoryless randomized algorithm with competitive ratio 2k12^k-1 against adaptive online adversaries and provide two matching lower bounds: for arbitrary algorithms against adaptive adversaries and for memoryless algorithms against oblivious adversaries. Due to well-known HST embedding techniques, the algorithm implies a randomized O(2klogn)O(2^k\log n)-competitive algorithm for arbitrary nn-point metrics. This is the first competitive algorithm for the hard kk-taxi problem for general finite metric spaces and general kk. For the special case of k=2k=2, we obtain a precise answer of 99 for the competitive ratio in general metrics. With an algorithm based on growing, shrinking and shifting regions, we show that one can achieve a constant competitive ratio also for the hard 33-taxi problem on the line (abstracting the scheduling of three elevators).

Keywords

Cite

@article{arxiv.1807.06645,
  title  = {The Online $k$-Taxi Problem},
  author = {Christian Coester and Elias Koutsoupias},
  journal= {arXiv preprint arXiv:1807.06645},
  year   = {2018}
}
R2 v1 2026-06-23T03:04:58.772Z