Draft:Rectangulations
rectangulations/ mosaic floorplans
From Wikipedia, the free encyclopedia
| Review waiting, please be patient.
This may take 8 weeks or more, since drafts are reviewed in no specific order. There are 2,927 pending submissions waiting for review.
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
Reviewer tools
|
Rectangulations

In discrete mathematics, a rectangulation (or mosaic floorplan) is a decomposition of a rectangle into finitely many interior-disjoint rectangles.[1] The size of a rectangulation describes the number of rectangles used in the decomposition. A segment
of a rectangulation is a maximal straight line segment, which is not contained in a side of
. The neighbors of a segment
are those segments with an endpoint on
If no four rectangles meet in a point the rectangulation is called generic (or mosaic). Furthermore, every generic rectangulation of size
has exactly
segments. This article will consider every rectangulation to be generic, if not stated otherwise.
This topic is closely related to guillotine partitions and has applications in integrated circuit design, where floorplanning represents an early step in the design flow.[2]
Definitions
Left-right and above-below order on rectangles
- A rectangle
of the is to the left of a rectangle
if there exists a sequence of rectangles
, such that for
the right side of
is contained in the same segment as the left side of
. In this case we equivalently say
is to the right of
.
- A rectangle
of the is above a rectangle
if there exists a sequence of rectangles
, such that for
the top side of
is contained in the same segment as the bottom side of
. In this case we equivalently say
is below
.
Using this order we can show that every pair distinct of rectangles satisfies exactly one of these relations.[1]
Weak and strong equivalence

For two rectangulations and
we define two types of equivalence:
and
are weakly equivalent, if there exists a (unique) bijection between the rectangles of
and
preserving the left-right and above-below orders.
and
are strongly equivalent, if they are weakly equivalent and the corresponding bijection between the rectangles also preserves adjacency between rectangles.
These relations define the weak and strong equivalence classes. The set of weak equivalence classes for rectangulations of size is denoted by
and elements of this set are called weak rectangulations. Analogously the set of strong equivalence classes for rectangulations of size
is denoted by
and elements of this set are called strong rectangulations.
Labeling rectangles
The labeling of the rectangles of a rectangulation depends on the selected corner. Starting at one corner the rectangle labelled first, is the one containing that corner. Removing the labelled rectangle leaves a distinct segment that can be moved in order to restore the rectangles to a rectangulation. Again, the rectangle containing the selected corner is labelled and removed until a single rectangle remains. Since this article only considers mosaic rectangulations, the movable segment and therefore the labeling with respect to each corner is unique.

Guillotine rectangulations

A rectangulation is called guillotine rectangulation if the segments can be ordered so that when the partition is executed according to that order, the current segment always partitions a rectangle into two rectangles.
Bijections to permutation classes
There are several known bijections between equivalence classes of rectangulations and permutation classes.[1][3][4] In the following table and
refer to the mesh patterns given by
and
.
| Rectangulations | Permutations |
|---|---|
| Weak rectangulations | Baxter permutations, twisted Baxter permutations, co-twisted Baxter permutations |
| Weak guillotine rectangulations | separable permutations, |
| Strong rectangulations | 2-clumped permutations, co-2-clumped permutations |
| Strong guillotine rectangulations |
These bijections allow us to count the number of weak and strong rectangulations. For example, the number of weak rectangulations of size is therefore given by the
-th Baxter number (sequence A001181 in the OEIS), given by the formula:[5]
for which it is known that
.[5] Similarly the number of weak guillotine rectangulations of size
is given by the
-th Schröder number (sequence A006318 in the OEIS).[1][3]
Estimates on the number of rectangulations on planar point sets

Given a set of
points within a rectangle
, a rectangulation on a point set
in
is a generic rectangulation of
such that every point in
lies on one segment.
Here, generic point sets are considered.
There are several known estimates as well as exact numbers for the number of rectangulations of planar point sets. That means, we fix a point set and consider the number of rectangulations on this point set.
| Constraint on point set or counted rectangulation | Estimate respectively exact number |
|---|---|
| None | at least |
| None | at most |
| Only counting guillotine rectangulations | |
| Relative order of the points in |
Binary search trees and rectangulations
In computer science, an approach to the dynamic optimality problem on online algorithms for binary search trees (BST) involves reformulating the problem geometrically, in terms of augmenting a set of points in the plane with as few additional points as possible to avoid rectangles with only two points on their boundary. In addition to the geometric model introduced by Demaine et al. (2009), the BST dynamic optimality problem admits an equivalent formulation in terms of rectangulations. This equivalence was established by Kozma and Saranurak (2016).[8]
When a rectangulation is constrained by a set of points (no two sharing the same horizontal or vertical line), every point of
must lie in the interior of exactly one segment.
Given an access sequence with distinct keys, map it to the point set
. The initial rectangulation state consists of vertical segments through every point of
, plus the boundary margins. A valid end state consists of only horizontal segments that together cover every point of
on the horizontal lines
.
The Rectangulation problem asks for the minimum number of flips that transform the initial (all-vertical) state into any valid end (all-horizontal) state. A flip adds a new horizontal or vertical segment between two existing points and, if necessary, splits intersecting segments, while preserving the property that every interior point has degree at least 2 and that no two segments cross improperly (the “elbow-free” condition).
In this setup, the following polynomial-time equivalence (up to constant factor) can be proven:
Theorem (Rectangulation ↔ Satisfied Superset)—Any algorithm for the Rectangulation problem can be converted into an algorithm for the Satisfied Superset problem with cost O of the number of flips, and vice versa.
Together with the fact that any algorithm for the Satisfied Superset problem (minimum superset of the input points that admits a Manhattan path between every pair) can be converted into a BST algorithm whose cost is of the superset size, and vice versa, this leads to the correspondence between BSTs and rectangulations.
Consequently, the minimum cost of serving in the BST model is
of the minimum number of flips needed to go from the all-vertical to the all-horizontal rectangulation constrained by the points of
.
This “flip view” reinterprets classic BST algorithms (Splay, Greedy, etc.) as particular flip strategies and yields new algorithmic perspectives: the sequence of flips builds the BST solution in an order dictated by the internal structure of the query sequence, and progress toward the all-horizontal target is measurable.
The model further connects (up to an additive term) to the Tree Relaxation problem: starting from the treap on
(with y-coordinates as priorities), repeatedly perform valid edge flips (reparenting a child to a neighboring sibling under certain conditions) until reaching the unique root-to-leaf path ordered by increasing y-coordinate. This relaxation view highlights progress via strictly decreasing total edge height or increasing total edge width.
Some additional remarks:
- The flip diameter of rectangulations (maximum distance between any two rectangulations on the same point set under flip/rotate operations) is
of the BST optimum for certain inputs.
- The Small Manhattan Network optimum is a lower bound on the BST optimum, and the two quantities coincide asymptotically on many inputs (including random permutations and pattern-avoiding point sets).
- Upper bounds (dynamic finger, working set, etc.) and heuristics for BSTs arise naturally from optimization measures on intermediate rectangulations or monotone trees (total edge length, total distance from root, etc.).
Quadrangulation
For a quadrangulation is the separating decomposition an orientation and coloring of the edges with two colors such that:
- bipartition of
of
, such that for the two outer vertices
all edges incident to
are red ingoing and all edges incident to
are blue ingoing edges.
- for all vertices
the incidents edges of the same color form an non-empty interval satisfying an orientation rule

This separating decomposition of induces a segment contact representation which is a Rectangulation. Therefore, we observe that all red edges (respectively, blue) of
produce a spanning tree with root
(respectively,
). Then we find an closed simple curve through all vertices without
, which separates all red and blue edges, which yields a two page book embedding, and this yields an alternative layout. This is a non crossing drawing of a plane tree
such that vertices placed on x-axis and all edges embedded in the halfplane above or below and all neighbors of a vertex lay completely on the left or on the right. These layouts are in bijection to binary trees and if we merge
with the first vertex and
with the last we get a segment contact representation, which is a rectangulation.
Triangulation
The dual graph of a rectangulation is a triangulation of a 4-gon. On these graphs, we can put a transversal structure, which is an orientation and coloring of the inner edges with two colors such that the following two rules hold:

When we have such a structure we can investigate if some rectangulations are strong equivalent, because if they have the same transversal structure, then they have the same dual graph which means they have the same segment contact representation.[9][10]
Rectangle-of-influence
We can use these structures to get a so called rectangle-of-influence drawing. By the method with transversal structures we have exactly the same, but by the method with the Book embeddings we use a four coloring instead of a binary coloring to get two different Book embeddings, which yields to a closed rectangle-of-influence drawing.[9][10]
Rectangulations in higher dimensions
Rectangulations in two dimensions are well known. There are some extensions of bijections between higher dimensional rectangulations and permutations and representations of planar graphs in three dimensions.
Bijections between higher dimensional rectangulations and
-permutations
Similar to bijections between rectangulations and permutation classes in the -dimensional case, there is a bijection between
-floorplans and
-permutations. A
-permutation is a
-tuple of permutations. A
-floorplan is a partition of a
-dimensional box (
-box) into interior-disjoint
-boxes. The boxes of a generic
-floorplan can be labeled as described for the
-dimensional case.
The labeling of the boxes also describes a total order of the interior boxes with respect to a corner . Considering
different corners maps a
-floorplan to a
-permutation. To get a bijection, the corners have to be chosen in a specific way, e.g. choosing opposite corners results in the inverse permutation. For a mapping from
-permutations to
-floorplans
partial orders are extracted from the permutations. The partial orders are described above for
-floorplans and can be extended to more dimensions. Given one partial order for each dimension the floorplan is fully determined. The
-permutations compatible with the bijection are Baxter-
-permutations.[11]
Plattenbauten

Sets of interior-disjoint axis-aligned rectangles in space are called Plattenbauten. They are a generalization of axis-aligned segment contacts in two dimensions. The touching graph of a Plattenbau has one vertex for each rectangle, two vertices are connected by an edge, if the corresponding rectangles touch. It can be shown that every 3-colorable planar graph ist the touching graph of a generic Plattenbau. A Plattenbau is generic, if there are no coplanar rectangles. It has the following properties:[12]
- chromatic number
- neighborhood
is planar
- the smallest dimension
such that
is an intersection graph of
-boxes is at most
.
References
- Asinowski, Andrei; Cardinal, Jean; Felsner, Stefan; Fusy, Éric (2024-02-02). "Combinatorics of rectangulations: Old and new bijections". arXiv:2402.01483 [math.CO].
- Technologies, iVLSI. "Floorplan in VLSI Physical Design | iVLSI Technologies". www.ivlsi.com. Retrieved 2026-02-11.
- Cardinal, Jean; Sacristán, Vera; Silveira, Rodrigo I. (2018-10-30). "A Note on Flips in Diagonal Rectangulations". Discrete Mathematics & Theoretical Computer Science 4315. arXiv:1712.07919. doi:10.23638/DMTCS-20-2-14.
- Meehan, Emily (2019-08-16). "Baxter Posets". The Electronic Journal of Combinatorics. 26 (3) P3.33. doi:10.37236/7273. ISSN 1077-8926.
- Chung, F. R. K; Graham, R. L; Hoggatt, V. E; Kleiman, M (1978-05-01). "The number of baxter permutations". Journal of Combinatorial Theory, Series A. 24 (3): 382–394. doi:10.1016/0097-3165(78)90068-7. ISSN 0097-3165.
- Felsner, Stefan. "Exploiting Air-Pressure to Map Floorplans on Point Sets" (PDF).
- Ackerman, Eyal; Barequet, Gill; Pinter, Ron Y. (2006-08-01). "On the number of rectangulations of a planar point set". Journal of Combinatorial Theory, Series A. 113 (6): 1072–1091. doi:10.1016/j.jcta.2005.10.003. ISSN 0097-3165.
- Kozma, László; Saranurak, Thatchaphol (2016-03-26). "Binary search trees and rectangulations". arXiv:1603.08151 [cs.DS].
- Sadasivam, Sadish; Zhang, Huaming (2011-01-01). "Closed rectangle-of-influence drawings for irreducible triangulations". Computational Geometry. 44 (1): 9–19. doi:10.1016/j.comgeo.2010.07.001. ISSN 0925-7721.
- Barrière, Lali; Huemer, Clemens (2012-05-28). "4-labelings and grid embeddings of plane quadrangulations". Discrete Mathematics. 312 (10): 1722–1731. doi:10.1016/j.disc.2012.01.027. hdl:2117/3013. ISSN 0012-365X.
- Bonichon, Nicolas; Muller, Thomas; Tanasa, Adrian (2025-04-01). "Higher dimensional floorplans and Baxter d-permutations". arXiv:2504.01116 [math.CO].
- Felsner, Stefan; Knauer, Kolja; Ueckerdt, Torsten (2023-09-15). "Plattenbauten: Touching Rectangles in Space". arXiv:2007.07806 [math.CO].
