On the generation of convex polyominoes
نویسنده
چکیده
We present a simple but efficient method for generating the set LPol(n) of L-convex polyominoes of size n. We show a bijection between LPol(n) and a suitable set of pairs of integer sequences. This lets us design a CAT (Constant Amortized Time) algorithm for generating LPol(n) using O( √ n) space.
منابع مشابه
On the Generation and Enumeration of some Classes of Convex Polyominoes
ECO is a method for the recursive generation, and thereby also the enumeration of classes of combinatorial objects. It has already found successful application in recent literature both to the exhaustive generation and to the uniform random generation of various objects classified according to several parameters of interest, as well as to their enumeration. In this paper we extend this approach...
متن کاملOn the exhaustive generation of k-convex polyominoes
We present an algorithm to compute the degree of convexity of a convex polyomino P , defined as the smallest integer k such that any two cells of P can be joined by a path in P with at most k changes of direction. The algorithm is used to generate in amortized time O(1) all k-convex polyominoes of size n.
متن کاملReconstruction of 2-convex polyominoes
There are many notions of discrete convexity of polyominoes (namely hvconvex [1], Q-convex [2], L-convex polyominoes [5]) and each one has been deeply studied. One natural notion of convexity on the discrete plane leads to the definition of the class of hv-convex polyominoes, that is polyominoes with consecutive cells in rows and columns. In [1] and [6], it has been shown how to reconstruct in ...
متن کاملPolyominoes with Nearly Convex Columns: an Undirected Model
Column-convex polyominoes were introduced in 1950’s by Temperley, a mathematical physicist working on “lattice gases”. By now, column-convex polyominoes are a popular and well-understood model. There exist several generalizations of column-convex polyominoes. However, the enumeration by area has been done for only one of the said generalizations, namely for multi-directed animals. In this paper...
متن کامل0 M ar 2 00 4 Enumeration of Symmetry Classes of Convex Polyominoes on the Honeycomb Lattice ∗
Hexagonal polyominoes are polyominoes on the honeycomb lattice. We enumerate the symmetry classes of convex hexagonal polyominoes. Here convexity is to be understood as convexity along the three main column directions. We deduce the generating series of free (i.e. up to reflection and rotation) and of asymmetric convex hexagonal polyominoes, according to area and half-perimeter. We give explici...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Discrete Applied Mathematics
دوره 183 شماره
صفحات -
تاریخ انتشار 2015