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

序列的抢先在线分割

Preemptive Online Partitioning of Sequences

Christian Konrad, Tigran Tonoyan

摘要:

在线算法逐段处理输入,对每个数据项做出不可撤销的决定。这个模型对于大多数分区问题来说限制太多,因为尚未到达的数据可能会导致不可能将部分分区扩展到整个数据集。在这项工作中,我们表明,抢占可能是一个潜在的补救措施。我们考虑的问题,分区在线序列,其中$p-1$分隔符需要插入到一个序列的整数到达在线,以创建$p$连续的分区相似的重量。虽然没有抢占,没有具有非平凡竞争比的算法是可能的,如果允许抢占,即,插入的分区分隔符可以被删除,但不能重新插入,然后我们表明,常数竞争算法可以得到。我们的贡献包括:本文首先给出了一个简单的确定性$2$ -竞争抢占算法,它适用于任意$p$和任意序列。我们的主要贡献是设计了一个高度非平凡的分区方案,在某些自然条件下,$p$是一个2的幂,使我们能够提高竞争力的$1.68$。我们还表明,确定性(随机)算法的竞争力至少是$\frac{4}{3}$(分别)。$\frac{6}{5}$)。对于$p=2$,该问题对应于抢先猜测加权请求序列的中心的有趣的特殊情况。虽然确定性算法在这里失败,我们提供了一个随机的$1.345$竞争算法的所有1序列,并证明这是最佳的。对于加权序列,我们给出了一个$1.628$ -竞争算法和$1.5$的下界.

英文摘要:

Online algorithms process their inputs piece by piece, taking irrevocable decisions for each data item. This model is too restrictive for most partitioning problems, since data that is yet to arrive may render it impossible to extend partial partitionings to the entire data set reasonably well. In this work, we show that preemption might be a potential remedy. We consider the problem of partitioning online sequences, where $p-1$ separators need to be inserted into a sequence of integers that arrives online so as to create $p$ contiguous partitions of similar weight. While without preemption no algorithm with non-trivial competitive ratio is possible, if preemption is allowed, i.e., inserted partition separators may be removed but not reinserted again, then we show that constant competitive algorithms can be obtained. Our contributions include: We first give a simple deterministic $2$-competitive preemptive algorithm for arbitrary $p$ and arbitrary sequences. Our main contribution is the design of a highly non-trivial partitioning scheme, which, under some natural conditions and $p$ being a power of two, allows us to improve the competitiveness to $1.68$. We also show that the competitiveness of deterministic (randomized) algorithms is at least $\frac{4}{3}$ (resp. $\frac{6}{5}$). For $p=2$, the problem corresponds to the interesting special case of preemptively guessing the center of a weighted request sequence. While deterministic algorithms fail here, we provide a randomized $1.345$-competitive algorithm for all-ones sequences and prove that this is optimal. For weighted sequences, we give a $1.628$-competitive algorithm and a lower bound of $1.5$.

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

↑