Packing Boundary-Anchored Rectangles and Squares
Abstract
Consider a set of points on the boundary of an axis-aligned square . We study the boundary-anchored packing problem on in which the goal is to find a set of interior-disjoint axis-aligned rectangles in such that each rectangle is anchored (has a corner at some point in ), each point in 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 in if one of its corners coincides with . In this paper, we show how to solve this problem in time linear in , provided that the points of are given in sorted order along the boundary of . We also consider the problem for anchoring squares and give an -time algorithm when the points in lie on two opposite sides of .
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