A puzzle whose solution has applications in VLSI layout compaction of memories and fine grained parallel processors can be phrased as follows: You are given a set of n rectangles arranged in a coordinate plane such that no two overlap and each rectangle has sides parallel to the coordinate axes. The width of such an arrangement is the length of a longest horizontal line segment having each of its endpoints located within the rectangles. You may slide the rectangles only in the direction of the horizontal axis and may not slide any rectangle over another. Find a minimal width arrangement reachable by sliding from the original arrangement. The fastest previously known algorithm solving this problem is the iterative approach of Mehlhorn and Rülling [6] requiring O(n2log n) time. This paper develops and proves correct a simple O(n log n) time algorithm which exploits the geometric structure of the constraints between the rectangles.
CITATION STYLE
Anderson, R., Kahan, S., & Schlag, M. (1990). An O(n log n) algorithm for 1-D tile compaction. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 411 LNCS, pp. 287–301). Springer Verlag. https://doi.org/10.1007/3-540-52292-1_21
Mendeley helps you to discover research relevant for your work.