The seat reservation problem

被引:35
作者
Boyar, J [1 ]
Larsen, KS [1 ]
机构
[1] Odense Univ, Dept Math & Comp Sci, DK-5230 Odense M, Denmark
关键词
on-line algorithms; competitive ratio; accommodating ratio; graph coloring; interval graphs; seat reservation problem;
D O I
10.1007/PL00009286
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We investigate the problem of giving seat reservations on-line. We assume that a train travels from a start station to an end station, stopping at k stations, including the first and last. Reservations can be made for any trip going from any station to any later station. The train has a fixed number of seats. The seat reservation system attempts to maximize income. We consider the case in which all tickets have the same price and the case in which the price of a ticket is proportional to the length of the trip. For both cases we prove upper and lower bounds of Theta (1/k) on the competitive ratio of any "fair" deterministic algorithm. We also define the accommodating ratio which is similar to the competitive ratio except that the only sequences of requests allowed are sequences for which the optimal off-line algorithm could accommodate all requests. We prove upper and lower bounds of Theta (1) on the accommodating ratio of any "fair" deterministic algorithm, in the case in which all tickets have the same price, but Theta (1/k) in the case in which the ticket price is proportional to the length of the trip. The most surprising of these results is that all "fair" algorithms are at least 1/2-accommodating when all tickets have the same price. We prove similar results bounding the performance of any "fair" randomized algorithm against an adaptive on-line adversary. We also consider concrete algorithms; more specifically, First-Fit and Best-Fit.
引用
收藏
页码:403 / 417
页数:15
相关论文
共 14 条
  • [1] AWERBUCH B, 1994, PROCEEDINGS OF THE FIFTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P312
  • [2] AWERBUCH B, 1996, LECT NOTES COMPUTER, V1136, P431
  • [3] Bar-Noy A., 1995, Proceedings of the Twenty-Seventh Annual ACM Symposium on the Theory of Computing, P616, DOI 10.1145/225058.225279
  • [4] ON THE POWER OF RANDOMIZATION IN ONLINE ALGORITHMS
    BENDAVID, S
    BORODIN, A
    KARP, R
    TARDOS, G
    WIGDERSON, A
    [J]. ALGORITHMICA, 1994, 11 (01) : 2 - 14
  • [5] COMPETITIVE PAGING WITH LOCALITY OF REFERENCE
    BORODIN, A
    IRANI, S
    RAGHAVAN, P
    SCHIEBER, B
    [J]. JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1995, 50 (02) : 244 - 258
  • [6] Efficient on-line call control algorithms
    Garay, JA
    Gopal, IS
    Kutten, S
    Mansour, Y
    Yung, M
    [J]. JOURNAL OF ALGORITHMS, 1997, 23 (01) : 180 - 194
  • [7] Gavril F., 1972, SIAM Journal on Computing, V1, P180, DOI 10.1137/0201013
  • [8] Jensen T. R., 1995, Graph Coloring Problems
  • [9] COMPETITIVE SNOOPY CACHING
    KARLIN, AR
    MANASSE, MS
    RUDOLPH, L
    SLEATOR, DD
    [J]. ALGORITHMICA, 1988, 3 (01) : 79 - 119
  • [10] KARP RM, 1990, PROCEEDINGS OF THE TWENTY SECOND ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, P352, DOI 10.1145/100216.100262