Tight Lower Bounds for the Online Labeling Problem

被引:0
|
作者
Bulanek, Jan [1 ,2 ]
Koucky, Michal [2 ,4 ]
Saks, Michael [3 ]
机构
[1] Charles Univ Prague, Prague, Czech Republic
[2] Acad Sci, Inst Math, Prague, Czech Republic
[3] Rutgers State Univ, Dept Math, Newark, NJ USA
[4] Aarhus Univ, Aarhus, Denmark
基金
加拿大自然科学与工程研究理事会; 美国国家科学基金会;
关键词
online labeling; file maintenance problem; lower bounds;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We consider the file maintenance problem (also called the online labeling problem) in which n integer items from the set {1,, r} are to be stored in an array of size m > n. The items are presented sequentially in an arbitrary order, and must be stored in the array in sorted order (but not necessarily in consecutive locations in the array). Each new item must be stored in the array before the next item is received. If r <= m then we can simply store item j in location j but if r > m then we may have to shift the location of stored items to make space for a newly arrived item. The algorithm is charged each time an item is stored in the array, or moved to a new location. The goal is to minimize the total number of such moves the algorithm has to do. This problem is non-trivial when n <= m < r. In the case that m = Cn for some C > 1, algorithms for this problem with cost O(log(n)(2)) per item have been given [IKR81, Wi192, BCD(+)02]. 1When m = n, algorithms with cost O(log(n)(3)) per item were given [Zha93, B507]. In this paper we prove lower bounds that show that these algorithms are optimal, up to constant factors. Previously, the only lower bound known for this range of parameters was a lower bound of Omega(log(n)(2)) for the restricted class of smooth algorithms [DS Z05, Zha93]. We also provide an algorithm for the sparse case: If the number of items is polylogarithmic in the array size then the problem can be solved in amortized constant time per item.
引用
收藏
页码:1185 / 1198
页数:14
相关论文
共 50 条
  • [1] TIGHT LOWER BOUNDS FOR THE ONLINE LABELING PROBLEM
    Bulanek, Jan
    Koucky, Michal
    Saks, Michael
    [J]. SIAM JOURNAL ON COMPUTING, 2015, 44 (06) : 1765 - 1797
  • [2] Tight lower bounds for the distinct elements problem
    Indyk, P
    Woodruff, D
    [J]. 44TH ANNUAL IEEE SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2003, : 283 - 288
  • [3] A tight lower bound for online monotonic list labeling
    Dietz, PF
    Seiferas, JI
    Zhang, J
    [J]. SIAM JOURNAL ON DISCRETE MATHEMATICS, 2005, 18 (03) : 626 - 637
  • [4] Online Labeling: Algorithms, Lower Bounds and Open Questions
    Saks, Michael
    [J]. COMPUTER SCIENCE - THEORY AND APPLICATIONS, CSR 2018, 2018, 10846 : 23 - 28
  • [5] A Tight Lower Bound for an Online Hypercube Packing Problem and Bounds for Prices of Anarchy of a Related Game
    Kohayakawa, Yoshiharu
    Miyazawa, Flavio Keidi
    Wakabayashi, Yoshiko
    [J]. LATIN 2018: THEORETICAL INFORMATICS, 2018, 10807 : 697 - 711
  • [6] Tight lower bounds for the longest common extension problem
    Kosolobov, Dmitry
    [J]. INFORMATION PROCESSING LETTERS, 2017, 125 : 26 - 29
  • [7] Tight lower bounds for the Traveling Salesman Problem with draft limits
    Balma, Ali
    Mrad, Mehdi
    Ladhari, Talel
    [J]. COMPUTERS & OPERATIONS RESEARCH, 2023, 154
  • [8] Improved lower bounds for the online bin stretching problem
    Gabay, Michael
    Brauner, Nadia
    Kotov, Vladimir
    [J]. 4OR-A QUARTERLY JOURNAL OF OPERATIONS RESEARCH, 2017, 15 (02): : 183 - 199
  • [9] Improved lower bounds for the online bin stretching problem
    Michaël Gabay
    Nadia Brauner
    Vladimir Kotov
    [J]. 4OR, 2017, 15 : 183 - 199
  • [10] Tight Bounds for the Advice Complexity of the Online Minimum Steiner Tree Problem
    Barhum, Kfir
    [J]. SOFSEM 2014: THEORY AND PRACTICE OF COMPUTER SCIENCE, 2014, 8327 : 77 - 88