Generating convex polyominoes at random

https://doi.org/10.1016/0012-365X(95)00134-IGet rights and content
Under an Elsevier user license
open archive

Abstract

We give a new recursion formula for the number of convex polyominoes with fixed perimeter. From this we derive a bijection between an interval of natural numbers and the polyominoes of given perimeter. This provides a possibility to generate such polyominoes at random in polynomial time. Our method also applies for fixed area and even when fixing both, perimeter and area.

In the second part of the paper we present a simple linear time probabilistic algorithm which uniformly generates convex polyominoes of given perimeter with asymptotic probability 0.5.

Cited by (0)

1

Supported by the German Research Association (Deutsche Forschungsgemeinschaft, SFB 303).

2

Supported by the German Research Association (Deutsche Forschungsgemeinschaft).