On the on-line number of snacks problem

被引:22
作者
Ma, WM [1 ]
You, J
Xu, YF
Liu, J
Wang, KL
机构
[1] Xian Jiaotong Univ, Sch Management, Xian 710049, Shaanxi, Peoples R China
[2] Hong Kong Polytech Univ, Dept Comp, Kowloon, Hong Kong, Peoples R China
基金
中国国家自然科学基金;
关键词
on-line number of snacks problem; competitive algorithms; competitive ratio;
D O I
10.1023/A:1021253103047
中图分类号
C93 [管理学]; O22 [运筹学];
学科分类号
070105 ; 12 ; 1201 ; 1202 ; 120202 ;
摘要
In the number of snacks problem (NSP), which was originally proposed by our team, an on-line player is given the task of deciding how many shares of snacks his noshery should prepare each day. The on-line player must make his decision and then finish the preparation before the customers come to his noshery for the snacks; in other words, he must make decision in an on-line fashion. His goal is to minimize the competitive ratio, defined as inf(sigma) C-A (sigma) /C-OPT (sigma), where sigma denotes a sequence of numbers of customers, C-OPT (sigma) is the cost of satisfying by an optimal offline algorithm, and C-A (sigma) is the cost of satisfying sigma by an on-line algorithm. In this paper we give a competitive algorithm for on-line number of snacks problem P1, the Extreme Numbers Harmonic Algorithm (ENHA), with competitive ratio 1 + p . ( M - m) / (M + m),where M and are two extreme numbers of customers over the total period of the game, and p is a ratio concerning the cost of the two types of situations, and then prove that this competitive ratio is the best one if an on-line player chooses a fixed number of shares of snacks for any sequence of numbers of customers. We also discuss several variants of the NSP and give some results for it. Finally, we propose a conjecture for the on-line NSP.
引用
收藏
页码:449 / 462
页数:14
相关论文
共 11 条
[1]  
BENDAVID S, 1990, PROCEEDINGS OF THE TWENTY SECOND ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, P379, DOI 10.1145/100216.100268
[2]   AN OPTIMAL ONLINE ALGORITHM FOR METRICAL TASK SYSTEM [J].
BORODIN, A ;
LINIAL, N ;
SAKS, ME .
JOURNAL OF THE ACM, 1992, 39 (04) :745-763
[3]  
El-Yaniv R., 1992, Proceedings 33rd Annual Symposium on Foundations of Computer Science (Cat. No.92CH3188-0), P327, DOI 10.1109/SFCS.1992.267758
[4]   COMPETITIVE SNOOPY CACHING [J].
KARLIN, AR ;
MANASSE, MS ;
RUDOLPH, L ;
SLEATOR, DD .
ALGORITHMICA, 1988, 3 (01) :79-119
[5]  
Kierstead H.A., 1981, Congressus Numerantium, V33, P143
[6]   On-line k-truck problem and its competitive algorithms [J].
Ma, WM ;
Xu, YF ;
Wang, KL .
JOURNAL OF GLOBAL OPTIMIZATION, 2001, 21 (01) :15-25
[7]  
Manasse M. S., 1988, Proceedings of the Twentieth Annual ACM Symposium on Theory of Computing, P322, DOI 10.1145/62212.62243
[8]   COMPETITIVE ALGORITHMS FOR SERVER PROBLEMS [J].
MANASSE, MS ;
MCGEOCH, LA ;
SLEATOR, DD .
JOURNAL OF ALGORITHMS, 1990, 11 (02) :208-230
[9]   AMORTIZED EFFICIENCY OF LIST UPDATE AND PAGING RULES [J].
SLEATOR, DD ;
TARJAN, RE .
COMMUNICATIONS OF THE ACM, 1985, 28 (02) :202-208
[10]   BAY RESTAURANT - LINEAR STORAGE PROBLEM [J].
WOODALL, DR .
AMERICAN MATHEMATICAL MONTHLY, 1974, 81 (03) :240-246