Combinatorial generation via permutation languages. III. Rectangulations

03/16/2021
by   Arturo Merino, et al.
0

A generic rectangulation is a partition of a rectangle into finitely many interior-disjoint rectangles, such that no four rectangles meet in a point. In this work we present a versatile algorithmic framework for exhaustively generating a large variety of different classes of generic rectangulations. Our algorithms work under very mild assumptions, and apply to a large number of rectangulation classes known from the literature, such as generic rectangulations, diagonal rectangulations, 1-sided/area-universal, block-aligned rectangulations, and their guillotine variants. They also apply to classes of rectangulations that are characterized by avoiding certain patterns, and in this work we initiate a systematic investigation of pattern avoidance in rectangulations. Our generation algorithms are efficient, in some cases even loopless or constant amortized time, i.e., each new rectangulation is generated in constant time in the worst case or on average, respectively. Moreover, the Gray codes we obtain are cyclic, and sometimes provably optimal, in the sense that they correspond to a Hamilton cycle on the skeleton of an underlying polytope. These results are obtained by encoding rectangulations as permutations, and by applying our recently developed permutation language framework.

READ FULL TEXT

page 12

page 14

page 32

page 35

page 42

research
06/14/2023

Combinatorial generation via permutation languages. VI. Binary trees

In this paper we propose a notion of pattern avoidance in binary trees t...
research
06/14/2019

Combinatorial generation via permutation languages. I. Fundamentals

In this work we present a general and versatile algorithmic framework fo...
research
03/09/2021

A New Metric on Symmetric Group and Application to Block Permutation Codes

Permutation codes have received a great attention due to various applica...
research
08/13/2019

Finding and counting permutations via CSPs

Permutation patterns and pattern avoidance have been intensively studied...
research
02/08/2023

An Algorithm to Enumerate Grid Signed Permutation Classes

In this paper, we present an algorithm that enumerates a certain class o...
research
09/03/2018

Exhaustive generation for permutations avoiding a (colored) regular sets of patterns

Despite the fact that the field of pattern avoiding permutations has bee...
research
11/04/2019

Counting Small Permutation Patterns

A sample of n generic points in the xy-plane defines a permutation that ...

Please sign up or login with your details

Forgot password? Click here to reset