首页    期刊浏览 2024年11月08日 星期五
登录注册

文章基本信息

  • 标题:Efficient on-line algorithm for maintaining k-cover of sparse bit-strings
  • 本地全文:下载
  • 作者:Amit Kumar ; Preeti R. Panda ; Smruti Sarangi
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2012
  • 卷号:18
  • 页码:249-256
  • DOI:10.4230/LIPIcs.FSTTCS.2012.249
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:We consider the on-line problem of representing a sparse bit string by a set of k intervals, where k is much smaller than the length of the string. The goal is to minimize the total length of these intervals under the condition that each 1-bit must be in one of these intervals. We give an efficient greedy algorithm which takes time O(log k) per update (an update involves converting a 0-bit to a 1-bit), which is independent of the size of the entire string. We prove that this greedy algorithm is 2-competitive. We use a natural linear programming relaxation for this problem, and analyze the algorithm by finding a dual feasible solution whose value matches the cost of the greedy algorithm.
  • 关键词:On-line algorithms; string algorithms
国家哲学社会科学文献中心版权所有