计算机科学 > 计算几何
[提交于 2026年9月9日]
标题:A 2.37332-Competitive Algorithm for Online Square Packing with Gravity
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We consider online packing of axis-parallel squares into a unit-width strip under the Tetris and gravity constraints: An incoming square must be lowered from above along a monotonic downwards path until it reaches support from below. Fekete, Kamphans, and Schweer [Algorithmica, 2014] gave an algorithm with asymptotic competitive ratio $34/13\approx2.6154$ in this model. We present $\mathrm{AsymmetricSlots}$, a recursive algorithm based on splitting each slot into a wide and narrow subslot. The proof uses a local charging argument: squares that are large relative to its associated slot pay for the height they create with their own area, while smaller squares are balanced between the two subslots and may use a bounded temporary credit. For a suitable split parameter $p^\star$, we prove $\mathrm{AsymmetricSlots}{p^\star}(\sigma)\le 2.37332 \operatorname{OPT} (\sigma)+O(1)$ for every input sequence $\sigma$. Additionally, we show that the same framework gives an algorithm with asymptotic competitive ratio $O(\kappa)$ for rectangles of aspect ratio at most $\kappa$, and a matching $ \Omega(\kappa)$ lower bound shows that the dependence on $\kappa$ is asymptotically optimal. For the square algorithm, we give a lower bound of $2$ on its asymptotic competitive ratio.
提交历史
来自:Nichlas Langhoff Rasmussen[v1] 2026年9月9日 星期三 12:25:24 UTC (20 KB)