分隔直线上的重叠区间
Separating Overlapped Intervals on a Line
摘要:
给定线$\ell$上的$n$区间,我们考虑在$\ell$上移动这些区间的问题,使得没有两个区间重叠并且区间的最大移动距离最小化。求解该问题的难点在于确定最优解中区间的顺序。通过有趣的观察,我们表明,它是足够的,以考虑在最多$n$“候选人”名单的有序区间。此外,虽然显式地维护这些列表需要$Ω(n^2)$时间和空间,通过更多的观察和修剪技术,我们提出了一种算法,可以计算在$O(n\log n)$时间和$O(n)$空间的最优解。我们还证明了一个$Ω(n\log n)$时间下限解决问题,这意味着我们的算法的最优性。
英文摘要:
Given $n$ intervals on a line $\ell$, we consider the problem of moving these intervals on $\ell$ such that no two intervals overlap and the maximum moving distance of the intervals is minimized. The difficulty for solving the problem lies in determining the order of the intervals in an optimal solution. By interesting observations, we show that it is sufficient to consider at most $n$ "candidate" lists of ordered intervals. Further, although explicitly maintaining these lists takes $Ω(n^2)$ time and space, by more observations and a pruning technique, we present an algorithm that can compute an optimal solution in $O(n\log n)$ time and $O(n)$ space. We also prove an $Ω(n\log n)$ time lower bound for solving the problem, which implies the optimality of our algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。