A 2.37332-Competitive Algorithm for Online Square Packing with Gravity
Abstract
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 in this model. We present , 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 , we prove for every input sequence . Additionally, we show that the same framework gives an algorithm with asymptotic competitive ratio for rectangles of aspect ratio at most , and a matching lower bound shows that the dependence on is asymptotically optimal. For the square algorithm, we give a lower bound of on its asymptotic competitive ratio.
Create a lesson
Metadata
- Comments
- 13 pages. 5 figures
Related papers
Online Geometric Packing through Online TSP Scheduling
Shared title terminologycs.CGAnders Aamand, Mikkel Abrahamsen, Simon Bartlmae et al.
Faster Parameterized Algorithms for Covering Points with Non-Crossing Segments
Shared title terminologycs.CGSatyabrata Jana, Debabrata Pal, Sasanka Roy
Square-root comparison, Turnpike, and exact semidefinite feasibility
Shared title terminologycs.CGC. S. Elder
A Strongly Subquadratic Algorithm for Unique Assembly Verification in the Abstract Tile Assembly Model
Shared title terminologycs.CGTim Wylie
Online Disk Hitting via Two-Point Traces
Shared title terminologycs.CGMingchao Zhou, Chunying Ren, Yingli Ran et al.
Algorithms for Detecting Shape Defects in Concentrated Solar Power Plant Components
Shared title terminologycs.CGJ. M. Díaz-Báñez, M. Medrán-Navarro