1. Introduction
A planar discrete set is a finite subset of the integer lattice
defined up to translation. A discrete set can be represented either by a set of cells, i.e. unitary squares of the Cartesian plane, or by a binary matrix, where the 1’s determine the cells of the set [1] (see Figure 1).
A polyomino P is a finite connected set of adjacent cells, defined up to translations, in the Cartesian plane. A row convex polyomino (resp. column-convex) is a self avoiding convex polyomino such that the intersection of any horizontal line (resp. vertical line) with the polyomino has at most two connected components. Finally, a polyomino is said to be convex (or HV-convex) if it is both row and column-convex (see Figure 2).
A directed polyomino is obtained by starting out from a cell called source and by adding some other cells in two pre-determined directions, for example east and south, that is, to the right of, or below, the existing cells. A directed convex polyomino is a directed polyomino having connected columns and rows (see Figure 3).
Figure 1. A finite set of
, and its representation in terms of a binary matrix and a set of cells.
Figure 2. Row convex and convex polyomino.
In this paper we study the geometrical aspects of a particular family of convex polyominoes, introduced in [2] as the first level in a classification of convex polyominoes and called L-convex. In [2] the authors observed that L-convex polyominoes have the property that every pair of cells is connected by a monotone path involving at most one direction. In this way each convex polyomino is characterized by a parameter k that represents the maximum number of changes of direction in these paths. More precisely, a convex polyomino is called k-convex if, for every pair of its cells, there is at least a monotone path with at most k changes of direction that connects them. When the value of k is 1 we have the so-called L-convex polyominoes.
This class of polyominoes has been considered from different points of view. In [3] combinatorial aspects of L-convex polyominoes are analyzed, giving the enumeration according to the semiperimeter and the area. In [2] it is given an algorithm that reconstructs an L-convex polyomino from the set of its maximal L-polyominoes. Similarly in [4] it is given another way to reconstruct an L-convex polyomino from the size of some special paths, called bordered L-paths.
A problem frequently studied in literature is the reconstruction of a discrete set, on which some connectivity constraints are imposed, from partial informations. In particular, Discrete Tomography considers the problem of reconstructing a discrete set from measurements, generically known as projections, of the number of cells in the set that lie on lines with fixed scopes. In the special case of a convex polyomino P, one considers orthogonal (horizontal and vertical) projections, i.e. the pair
that gives the number of cells in each column and row of P, respectively. In [5] it is proved that each L-convex polyominoes P is uniquely determined by its horizontal and vertical projections while the same does not hold, in general, for convex polyominoes. Such projections may be seen as sizes (number of cells) of vertical and horizontal straight paths connecting cells of the opposite borders of P.
This paper is divided into 5 sections. After basics on polyominoes, we investigate in Section 3 the geometrical properties between the feet of all subclasses of non-directed L-convex polyominoes by giving nine geometries. Then these geometries are simplified to four by creating the link between all of them. Finally, using these four geometries we give a theorem that allows us to control the L-convexity of all non-directed convex polyominoes. In Section 4, we introduce the properties of all subclasses of directed L-convex polyominoes and we give the conditions of the L-convexity. A final comment on these geometrical properties is given in Section 5.
2. Definitions and Notations
To each discrete set S, represented as an
binary matrix, we associate two integer vectors
and
such that, for each
,
and
are the number of cells of S (elements 1 of the matrix) which lie on row i and column j, respectively [1] . The vectors H and V are called the horizontal and vertical projections of S, respectively (see Figure 4). By convention, the origin of the matrix (that is the cell with coordinates
) is in the upper left position.
For any two cells A and B in a polyomino, a path
, from A to B, is a sequence
of adjacent disjoint cells
P, with
, and
. For each
, we say that the two consecutive cells
form [1] :
Figure 4. A polyomino P with
and
.
• an east step if
and
;
• a north step if
and
;
• a west step if
and
;
• a south step if
and
.
Let us consider a polyomino P. A path in P has a change of direction in the cell
, for
, if
Finally, we define a path to be monotone if it is entirely made of only two of the four types of steps defined above [1] .
Proposition 1 (Gastiglione, Restivo). [2] A polyomino P is convex if and only if every pair of cells is connected by a monotone path.
3. Geometrical Properties L-Convex Polyominoes
In this section, we investigate the geometrical properties of L-convex polyominoes in terms of monotone paths.
Let
be two vectors of projections and let P be a convex polyomino, that satisfies
. By a classical argument P is contained in a rectangle R of size
(called minimal bounding box). Let
(
,
,
) be the intersection of P’s boundary on the lower (right, upper, left) side of R (see [6] ). By abuse of notation, for each
and
, we call
(resp.
,
,
) the cell at the position
(resp.
,
,
) and
(resp.
,
,
) the cell at the position
(resp.
,
,
) [1] (see Figure 5).
Definition 1. The segment
is called the S-foot. Similarly, the segments
,
and
are called E-foot, N-foot and W-foot [1] .
Proposition 2. Let
be two vectors of projections and let P be a convex polyomino, that satisfies
. If
or
or
or
then P is an L-convex polyomino.
Proof. Let P be a convex polyomino such that
(see Figure 6), then the bar allows us to go from the first cell situated at the position
to all other cells with at most one change of direction. Thus every two cells is connected by a monotone path with at most one change of direction and hence P is an L-convex polyomino. (Similar reasoning holds for the other three cases).
Let
(resp.
) be the class of convex polyominoes (resp. L-convex polyominoes) and let P be in
(resp.
) such that P does not satisfy Proposition 2. Also suppose that P is not a directed polyomino, then one can define the following subclasses of convex polyominoes:
•
.
•
.
Figure 6. An L-convex polyomino with
.
•
.
•
.
•
.
•
.
•
.
•
(see Figure 7).
Let us define the following sets:
•
,
•
.
•
,
•
.
Figure 7. Four L-convex polyominoes where (a): an element of the class
, (b): an element of the class
, (c): an element of the class
, and (d): an element of the class
.
The following characterizations hold for convex polyominoes in the class
and
.
Proposition 3. Let P be an L convex polyomino in the class
(resp.
and
), then there exists an L-path from
to
with a south step followed by an east step, and an L-path from
to
with an east step followed by a south step.
Proof. It is an immediate result from the fact that P is an L-convex and P is not a directed polyomino (see Figure 7).
Proposition 4. Let P be an L-convex polyomino in the class
, then the feet of P are connected by at least an L-path from
to
with a south step followed by an east step, and an L-path from
to
with an east step followed by a south step (see Figure 8).
Proof. It is an immediate result from the fact that P is an L-convex and P is not a directed polyomino (see Figure 8).
Proposition 5. Let P be an L-convex polyomino in the class
, then at least one of the two following affirmations is true.
1) The feet of P are connected by an L-path from
to
with a south step followed by an east step and an L-path from
to
with a south step followed by an east step.
2) The feet of P are connected by an L-path from
to
with a south step followed by an east step and an L-path from
to
with an east step followed by a north step (see Figure 9).
Proof. Here the result comes from the fact that P is an L-convex and P is not a directed polyomino and we consider one of the two cases (1)
or (2)
(see Figure 9).
Figure 8. The two L-paths between the feet in the class
.
Figure 9. The two different L-paths between the feet in the class
.
Proposition 6. Let P be an L-convex polyomino in the class
, then at least one of the two following affirmations is true.
1) The feet of P are connected by an L-path from
to
with an east step followed by a south step and an L-path from
to
with an east step followed by a south step.
2) The feet of P are connected by an L-path from
to
with an east step followed by a south step and an L-path from
to
with a south step followed by a west step (see Figure 10).
Proof. Here the result comes from the fact that P is an L-convex and P is not a directed polyomino and we consider one of the two cases 1)
or 2)
(see Figure 10).
Proposition 7. Let P be an L-convex polyomino in the class
, then at least one of the four following affirmations is true.
1) The feet of P are connected by an L-path from
to
with an east step followed by a south step and an L-path from
to
with a south step followed by an east step.
2) The feet of P are connected by an L-path from
to
with an east step followed by a south step and an L-path from
to
with an east step followed by a north step.
3) The feet of P are connected by an L-path from
to
with a south step followed by an east step and an L-path from
to
with an east step followed by a north step.
4) The feet of P are connected by an L-path from
to
with an east step followed by a north step and an L-path from
to
with an east step followed by a north step (see Figure 11).
Figure 10. The two different L-paths between the feet in the class
.
Figure 11. The four different L-paths between the feet in the class
.
Proof. Here the result comes from the fact that P is an L-convex and P is not a directed polyomino and we consider one of the four cases (1)
and
or (2)
and
or (3)
and
or (4)
and
(see Figure 11).
To summarize, if P is an L-convex polyomino (P is not directed), then the feet of P are characterized by the geometries shown in Figure 12.
Proposition 8. Let P be an L-convex polyomino (P is not directed), then the feet of P are connected at least by one of the nine following geometries of the L-paths in Figure 12.
•
•
•
•
•
•
Figure 12. The three types of L-paths between each two opposite feet.
•
•
•
.
Proof. This is a direct summary of the last four propositions (see Figure 11).
Remark 1. The geometries
,
,
, and
mentioned in Proposition 8 give directly the two L-paths mentioned in Proposition 3.
The geometries
,
, and
in Proposition 8 give directly the L-path from
to
with a south step followed by east step.
The geometries
and
in Proposition 8 give directly the L-path from
to
with an east step followed by a south step.
Now, we define the cells on the SE and WE borders to define the sets
and
from these cells.
Let P be a convex polyomino in the class
(resp.
and
) (P is not directed) and let
be the set of cells belonging to P such that
,
, and for
, let
be the cells situated on the border of the set SE.
Similarly, let
be the set of cells belonging to P such that such that
,
, and for
, let
be the cells situated on the border of the set WS.
Now let
be the set of cells such that
,
,
,
,
and
be the set of cells such that
,
,
,
,
.
Similarly, let
be the set of cells such that
,
,
,
,
and
be the set of cells such that
,
,
,
,
(see Figure 13).
Theorem 1. Let P be a convex polyomino such that P satisfies at least one of the following geometries
Figure 13. Red cells are the cells situated on the border of SE and WS with
,
,
and
.
•
•
•
•
•
•
•
•
•
.
Then P is an L-convex polyomino if and only if for
,
the cells situated at the positions
,
,
,
,
and
,
,
,
,
do not belong to P.
Proof. Suppose that P is a convex polyomino. The intersections control the geometries and the L-path between feet.
If P is an L-convex then obviously the cells situated at the positions
,
,
,
,
and
,
,
,
,
do not belong to P. Indeed, these cells could be attained only by using a 2L-path from the SE or WS borders.
The cells situated at the positions
,
,
,
,
and
,
,
,
,
control maximal rectangles from SE and WS. Thus, they control the L-convexity of the polyomino (see Figure 14).
Figure 14. An L-convex polyomino satisfying Theorem 1.
4. Directed L-Convex Polyominoes
Let P be a convex polyomino such that P does not satisfy Proposition 2. From the definition of directed convex polyominoes, let us define the following classes.
•
.
•
.
•
.
•
.
•
(see Figure 15).
•
.
•
(see Figure 15).
•
.
Let us define the horizontal transformation (symmetry)
which transforms the polyomino P from
to
,
to
,
to
, and
to
. Indeed the transformation acts on the feet of the polyomino as it is shown in the following table (see Table 1). Thus we only investigate the properties of the classes
and
.
Proposition 9. Let P be an L-convex polyomino in the class
, then there exist two L-paths from
to
with a south step followed by an east step, and from
to
with an east step followed by a south step.
Proof. The two L-paths control the L-convexity of the feet (see Figure 16).
Theorem 2. Let P be a convex polyomino in the class
such that there exist two L-paths from
to
with a south then an east steps, and from
to
with an east then a south steps. Then P is an L-convex polyomino if and only if the cell at the position
does not belong to P.
Proof. The maximal rectangle from the point
has extremal cells in the position
. That is the point at position
Figure 15. An element of the class
on the left and one of the class
on the right.
Figure 16. An L-convex polyomino in the class
.
Table 1. The horizontal transformation
on the feet of P.
is reachable from cell
by a 2L-path. Thus the point at the position
does not belong to P (see Figure 16).
Proposition 10. Let P be an L-convex polyomino in the class
, then there exist two L-paths from
to
with a west step followed by a north step, and from
to
with a north step followed by a west step.
Theorem 3. Let P be a convex polyomino in the class
such that there exist two L-paths from
to
with a west step followed by a north step, and from
to
with a north step followed by a west step. Then P is an L-convex polyomino if and only if the cell at the position
does not belong to P (see Figure 17).
Figure 17. An L-convex polyomino in the class
.
5. Conclusion
In this paper we studied the geometrical properties of all subclasses of directed and non-directed L-convex polyominoes and we gave necessary and sufficient conditions to characterize them. The results of this paper will be used in order to reconstruct all L-convex polyominoes using geometrical paths. This paper may help us to understand the geometrical behavior of kL-convex polyominoes and hence find a way to reconstruct them all.