Competitive analysis for two variants of online metric matching problem
Abstract
In the online metric matching problem, there are servers on a given metric space and requests are given one-by-one. The task of an online algorithm is to match each request immediately and irrevocably with one of the unused servers. In this paper, we pursue competitive analysis for two variants of the online metric matching problem. The first variant is a restriction where each server is placed at one of two positions, which is denoted by OMM(). We show that a simple greedy algorithm achieves the competitive ratio of 3 for OMM(). We also show that this greedy algorithm is optimal by showing that the competitive ratio of any deterministic online algorithm for OMM() is at least 3. The second variant is the online facility assignment problem on a line. In this problem, the metric space is a line, the servers have capacities, and the distances between any two consecutive servers are the same. We denote this problem by OFAL(), where is the number of servers. We first observe that the upper and lower bounds for OMM() also hold for OFAL(), so the competitive ratio for OFAL() is exactly 3. We then show lower bounds on the competitive ratio , and for OFAL(), OFAL() and OFAL(), respectively.
Communicated by Dachuan Xu