English

Packing Boundary-Anchored Rectangles and Squares

Computational Geometry 2019-07-01 v1

Abstract

Consider a set PP of nn points on the boundary of an axis-aligned square QQ. We study the boundary-anchored packing problem on PP in which the goal is to find a set of interior-disjoint axis-aligned rectangles in QQ such that each rectangle is anchored (has a corner at some point in PP), each point in PP is used to anchor at most one rectangle, and the total area of the rectangles is maximized. Here, a rectangle is anchored at a point pp in PP if one of its corners coincides with pp. In this paper, we show how to solve this problem in time linear in nn, provided that the points of PP are given in sorted order along the boundary of QQ. We also consider the problem for anchoring squares and give an O(n4)O(n^4)-time algorithm when the points in PP lie on two opposite sides of QQ.

Keywords

Cite

@article{arxiv.1906.11948,
  title  = {Packing Boundary-Anchored Rectangles and Squares},
  author = {Therese Biedl and Ahmad Biniaz and Anil Maheshwari and Saeed Mehrabi},
  journal= {arXiv preprint arXiv:1906.11948},
  year   = {2019}
}

Comments

18 pages, 11 figures

R2 v1 2026-06-23T10:06:06.188Z