English

Competitive Analysis of Online Facility Assignment for General Layout of Servers on a Line

Data Structures and Algorithms 2023-08-14 v1 Discrete Mathematics

Abstract

In the online facility assignment on a line OFAL(S,c){\rm OFAL}(S,c) with a set SS of kk servers and a capacity c:SNc:S\to\mathbb{N}, each server sSs\in S with a capacity c(s)c(s) is placed on a line, and a request arrives on a line one-by-one. The task of an online algorithm is to irrevocably match a current request with one of the servers with vacancies before the next request arrives. An algorithm can match up to c(s)c(s) requests to a server sSs\in S. In this paper, we propose a new online algorithm PTCP (Policy Transition at Critical Point) for OFAL(S,c)\mathrm{OFAL}(S,c) and show that PTCP is (2α(S)+1)(2\alpha(S)+1)-competitive, where α(S)\alpha(S) is informally the ratio of the diameter of SS to the maximum distance between two adjacent servers in SS. Depending on the layout of servers, α(S)\alpha(S) ranges from constant (independent of kk) to k1k-1. Among all of known algorithms for OFAL(S,c)\mathrm{OFAL}(S,c), this upper bound on the competitive ratio is the best when α(S)\alpha(S) is small. We also show that the competitive ratio of any MPFS (Most Preferred Free Servers) algorithm is at least 2α(S)+12\alpha(S)+1. For OFAL(S,c)\mathrm{OFAL}(S,c), recall that MPFS is a class of algorithms whose competitive ratio does not depend on a capacity cc and it includes the natural greedy algorithm and PTCP, etc. Thus, this implies that PTCP is the best for OFAL(S,c)\mathrm{OFAL}(S,c) in the class MPFS.

Keywords

Cite

@article{arxiv.2308.05933,
  title  = {Competitive Analysis of Online Facility Assignment for General Layout of Servers on a Line},
  author = {Tsubasa Harada and Toshiya Itoh},
  journal= {arXiv preprint arXiv:2308.05933},
  year   = {2023}
}

Comments

21 pages