arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.06565cs.DS
收藏

带延迟或时间窗的 List Update

List Update with Delays or Time Windows

Yossi Azar, Shahar Lewkowicz, Danny Vainstein

AI总结:

研究带截止时间或延迟函数的 List Update 问题,提出 O(1) 竞争比算法,通过新势能函数分析证明其有效性。

摘要:

我们考虑 List Update 问题,这是在线算法中最基本的问题之一。给定一个元素列表以及随时间到达的对这些元素的请求。我们的目标是服务这些请求,成本等于其在列表中的位置,并可以选择将它们移向列表头部。Sleator 和 Tarjan 提出了著名的“Move to Front”算法(其中任何被请求的元素立即被移到列表头部),并证明它是 2-competitive 的。虽然这个界限很好,但该算法解的绝对成本可能非常大(例如,请求列表后半部分的元素会导致解的成本与列表长度呈二次方关系)。因此,我们考虑更一般的问题,其中每个请求都带有一个截止时间,并且必须在截止时间之前被服务,而不是立即服务。我们进一步允许算法同时服务多个请求。我们将此问题称为 List Update with Time Windows。虽然这种泛化得益于较低的解成本,但它需要新型算法。特别是,对于请求列表后半部分元素且时间窗重叠的简单示例,Move-to-Front 会失败。我们展示了一个 O(1) competitive 算法。该算法很自然,但分析有些复杂,需要一个新的势能函数。此后,我们考虑更一般的问题 List Update with Delays,其中截止时间被替换为任意延迟函数。这个问题包含 prize collecting 版本作为特例,在该版本中,一个请求可能不被服务(直到某个截止时间),而是承受一个给定的任意惩罚。在这里,我们也为一般延迟建立了一个 O(1) competitive 算法。延迟版本的算法更复杂,其分析也显著更复杂。

英文摘要:

We consider the problem of List Update, one of the most fundamental problems in online algorithms. We are given a list of elements and requests for these elements that arrive over time. Our goal is to serve these requests, at a cost equivalent to their position in the list, with the option of moving them towards the head of the list. Sleator and Tarjan introduced the famous "Move to Front" algorithm (wherein any requested element is immediately moved to the head of the list) and showed that it is 2-competitive. While this bound is excellent, the absolute cost of the algorithm's solution may be very large (e.g., requesting the last half elements of the list would result in a solution cost that is quadratic in the length of the list). Thus, we consider the more general problem wherein every request arrives with a deadline and must be served, not immediately, but rather before the deadline. We further allow the algorithm to serve multiple requests simultaneously. We denote this problem as List Update with Time Windows. While this generalization benefits from lower solution costs, it requires new types of algorithms. In particular, for the simple example of requesting the last half elements of the list with overlapping time windows, Move-to-Front fails. We show an O(1) competitive algorithm. The algorithm is natural but the analysis is a bit complicated and a novel potential function is required. Thereafter we consider the more general problem of List Update with Delays in which the deadlines are replaced with arbitrary delay functions. This problem includes as a special case the prize collecting version in which a request might not be served (up to some deadline) and instead suffers an arbitrary given penalty. Here we also establish an O(1) competitive algorithm for general delays. The algorithm for the delay version is more complex and its analysis is significantly more involved.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑