Guillotine partition explained
Guillotine partition is the process of partitioning a rectilinear polygon, possibly containing some holes, into rectangles, using only guillotine-cuts. A guillotine-cut (also called an edge-to-edge cut) is a straight bisecting line going from one edge of an existing polygon to the opposite edge, similarly to a paper guillotine.
Guillotine partition is particularly common in designing floorplans in microelectronics. An alternative term for a guillotine-partition in this context is a slicing partition or a slicing floorplan. Guillotine partitions are also the underlying structure of binary space partitions. There are various optimization problems related to guillotine partition, such as: minimizing the number of rectangles or the total length of cuts. These are variants of polygon partitioning problems, where the cuts are constrained to be guillotine cuts.
A related but different problem is guillotine cutting. In that problem, the original sheet is a plain rectangle without holes. The challenge comes from the fact that the dimensions of the small rectangles are fixed in advance. The optimization goals are usually to maximize the area of the produced rectangles or their value, or minimize the waste or the number of required sheets.
Computing a guillotine partition with a smallest edge-length
In the minimum edge-length rectangular-partition problem, the goal is to partition the original rectilinear polygon into rectangles, such that the total edge length is a minimum.[1]
This problem can be solved in time
even if the raw polygon has holes. The algorithm uses
dynamic programming based on the following observation:
there exists a minimum-length guillotine rectangular partition in which every maximal line segment contains a vertex of the boundary. Therefore, in each iteration, there are
possible choices for the next guillotine cut, and there are altogether
subproblems.
In the special case in which all holes are degenerate (single points), the minimum-length guillotine rectangular partition is at most 2 times the minimum-length rectangular partition. By a more careful analysis, it can be proved that the approximation factor is in fact at most 1.75. It is not known if the 1.75 is tight, but there is an instance in which the approximation factor is 1.5.[2] Therefore, the guillotine partition provides a constant-factor approximation to the general problem, which is NP-hard.
These results can be extended to a d-dimensional box: a guillotine-partition with minimum edge-length can be found in time
, and the total (
d-1)-volume in the optimal guillotine-partition is at most
times that of an optimal
d-box partition.
[3] Arora[4] and Mitchell[5] used the guillotine-partitioning technique to develop polynomial-time approximation schemes for various geometric optimization problems.
Number of guillotine partitions
Besides the computational problems, guillotine partitions were also studied from a combinatorial perspective. Suppose a given rectangle should be partitioned into smaller rectangles using guillotine cuts only. Obviously, there are infinitely many ways to do this, since even a single cut can take infinitely many values. However, the number of structurally-different guillotine partitions is bounded.
- In two dimensions, there is an upper bound in
attributed to
Knuth. the exact number is the
Schröder number.
[6] - In d dimensions, Ackerman, Barequet, Pinter and Romik[7] give an exact summation formula, and prove that it is in
} \right). When
d=2 this bound becomes
} \right).
- Asinowski, Barequet, Mansour and Pinter[8] also study the number of cut-equivalence classes of guillotine partitions.
Coloring guillotine partitions
A polychromatic coloring of a planar graph is a coloring of its vertices such that, in each face of the graph, each color appears at least once. Several researchers have tried to find the largest k such that a polychromatic k-coloring always exists. An important special case is when the graph represents a partition of a rectangle into rectangles.
- Dinitz, Katz and Krakovski[9] proved that there always exists a polychromatic 3-coloring.
- Aigner-Horev, Katz, Krakovski and Loffler[10] proved that, in the special sub-case in which the graph represents a guillotine partition, a strong polychromatic 4-coloring always exists.
- Keszegh[11] extended this result to d-dimensional guillotine partitions, and provided an efficient coloring algorithm.
- Dimitrov, Aigner-Horev and Krakovski[12] finally proved that there always exists a strong polychromatic 4-coloring.
See also
Notes and References
- Book: Du. Ding-Zhu. Design and Analysis of Approximation Algorithms. Ko. Ker-I.. Hu. Xiaodong. 2012. Springer-Verlag. 978-1-4614-1700-2. Springer Optimization and Its Applications. New York. 165–209, chapter 5 "guillotine cut". en.
- Gonzalez. Teofilo. Zheng. Si-Qing. 1989-06-01. Improved bounds for rectangular and guillotine partitions. Journal of Symbolic Computation. en. 7. 6. 591–610. 10.1016/S0747-7171(89)80042-2. 0747-7171. free.
- Gonzalez. Teofilo F.. Razzazi. Mohammadreza. Shing. Man-Tak. Zheng. Si-Qing. 1994-05-01. On optimal guillotine partitions approximating optimal d-box partitions. Computational Geometry. en. 4. 1. 1–11. 10.1016/0925-7721(94)90013-2. 0925-7721. free.
- Book: Arora, S.. Proceedings of 37th Conference on Foundations of Computer Science . Polynomial time approximation schemes for Euclidean TSP and other geometric problems . October 1996. https://ieeexplore.ieee.org/document/548458. 2–11. 10.1109/SFCS.1996.548458. 0-8186-7594-2. 1499391.
- Mitchell. Joseph S. B.. 1999-01-01. Guillotine Subdivisions Approximate Polygonal Subdivisions: A Simple Polynomial-Time Approximation Scheme for Geometric TSP, k-MST, and Related Problems. SIAM Journal on Computing. 28. 4. 1298–1309. 10.1137/S0097539796309764. 0097-5397.
- Yao. Bo. Chen. Hongyu. Cheng. Chung-Kuan. Graham. Ronald. 2003-01-01. Floorplan representations: Complexity and connections. ACM Transactions on Design Automation of Electronic Systems. 8. 1. 55–80. 10.1145/606603.606607. 1645358. 1084-4309.
- Ackerman. Eyal. Barequet. Gill. Pinter. Ron Y.. Romik. Dan. 2006-05-31. The number of guillotine partitions in d dimensions. Information Processing Letters. en. 98. 4. 162–167. 10.1016/j.ipl.2006.01.011. 0020-0190.
- 2014-09-28. Cut equivalence of d-dimensional guillotine partitions. Discrete Mathematics. en. 331. 165–174. 10.1016/j.disc.2014.05.014. 0012-365X. free. Asinowski. Andrei. Barequet. Gill. Mansour. Toufik. Pinter. Ron Y..
- Dinitz. Yefim. Katz. Matthew J.. Krakovski. Roi. 2009-12-01. Guarding rectangular partitions. International Journal of Computational Geometry & Applications. 19. 6. 579–594. 10.1142/S0218195909003131. 0218-1959.
- Horev. Elad. Katz. Matthew J.. Krakovski. Roi. Löffler. Maarten. 2009-06-15. Polychromatic 4-coloring of guillotine subdivisions. Information Processing Letters. en. 109. 13. 690–694. 10.1016/j.ipl.2009.03.006. 0020-0190.
- Keszegh. Balázs. 2008. Hu. Xiaodong. Wang. Jie. Polychromatic Colorings of n-Dimensional Guillotine-Partitions. Computing and Combinatorics. Lecture Notes in Computer Science. 5092. en. Berlin, Heidelberg. Springer. 110–118. 10.1007/978-3-540-69733-6_12. 978-3-540-69733-6.
- 2009-05-06. Polychromatic colorings of rectangular partitions. Discrete Mathematics. en. 309. 9. 2957–2960. 10.1016/j.disc.2008.07.035. 0012-365X. Dimitrov. Darko. Horev. Elad. Krakovski. Roi. free.