TL;DR
This paper presents the first polynomial-time algorithms for tiling arbitrary polyominoes with squares and packing/tiling with dominos, using a compact "corner representation" of the polyomino. This is a significant theoretical advancement, as previous algorithms were pseudo-polynomial or relied on less efficient representations, and it has direct implications for practical problems like VLSI design.
What Problem Does This Paper Address?
The paper tackles fundamental problems in computational geometry: tiling and packing. Specifically, it addresses two main questions:
- Tiling with Squares: Can a given polyomino (a shape made of unit squares, potentially with holes) be perfectly covered by non-overlapping copies of a fixed $k \times k$ square?
- Packing/Tiling with Dominos: What is the maximum number of $1 \times 2$ dominos (which can be rotated) that can be packed into a given polyomino? This also allows us to determine if a polyomino can be perfectly tiled by dominos.
The challenge lies in the representation of the polyomino. While previous algorithms worked with representations like the "area representation" (listing all unit cells) or "perimeter representation" (listing boundary cells), these lead to pseudo-polynomial time complexities. The authors focus on the "corner representation," where a polyomino is defined by the coordinates of its corners. This representation is much more compact (linear in the number of corners, $n$), but it means that the area and perimeter can be exponentially larger than the input size, rendering previous algorithms inefficient. The paper aims to provide truly polynomial-time algorithms with respect to this compact corner representation.
Methods
The paper introduces novel algorithms for both tiling with squares and packing/tiling with dominos:
- Tiling with $k \times k$ Squares: A simple $O(n \log n)$ algorithm is presented. It uses a vertical sweep-line approach. As a line sweeps across the polyomino, the algorithm maintains information about how the tiling would look to the left of the sweep line. Changes in the tiling pattern are tracked as the line encounters vertical edges of the polyomino. The key insight is that for a tileable polyomino, the tiling is unique, and this uniqueness can be exploited to maintain consistent tiling information.
- Packing/Tiling with Dominos: Two algorithms are developed:
- Simple-packer: This algorithm achieves a running time of $O(n^4 \log n)$. It first "truncates" long edges of the polyomino to reduce its area to $O(n^4)$. This is done by contracting segments where the difference in x-coordinates between consecutive corners is large. The problem is then reduced to finding a maximum matching in a graph derived from the truncated polyomino.
- Fast-packer: This more involved algorithm achieves a running time of $O(n^3 \log^2(\log n))$ for packing and $O(n^3 \log^2 n)$ for tiling. It reduces the problem to finding a maximum/perfect matching in a bipartite planar graph with $O(n^3)$ vertices. This reduction relies on sophisticated structural results about polyominos and domino packings, including the concept of "pipes" and maintaining "consistent parity" of coordinates.
Datasets
Not discussed in the paper. The algorithms operate on abstract polyomino shapes defined by their corner coordinates.
Key Insights and Ideas
- Corner Representation is Key: The paper highlights that using the compact corner representation for polyominoes is crucial for achieving truly polynomial-time algorithms, as opposed to pseudo-polynomial ones based on area or perimeter.
- Sweep-line for Tiling: The sweep-line technique, combined with the uniqueness of tiling, provides an elegant and efficient way to solve the $k \times k$ square tiling problem.
- Structural Properties for Domino Packing: The core of the domino packing algorithms lies in uncovering deep structural properties of polyominos and domino packings. Concepts like "pipes" and "consistent parity" are essential for reducing the problem to graph matching on smaller, manageable structures.
- Reduction to Graph Matching: Both domino algorithms leverage the fact that packing/tiling problems can be effectively modeled as maximum matching problems in graphs derived from the polyomino.
Key Results
- Tiling with $k \times k$ Squares: A polynomial-time algorithm with a running time of $O(n \log n)$ is presented, where $n$ is the number of corners. This is the first such algorithm for the corner representation.
- Packing Dominos:
- The "simple-packer" algorithm achieves $O(n^4 \log n)$ time.
- The "fast-packer" algorithm achieves $O(n^3 \log^2(\log n))$ time.
- Tiling with Dominos: The "fast-packer" algorithm achieves $O(n^3 \log^2 n)$ time.
These results are significant because they provide the first truly polynomial-time solutions for these problems under the standard compact representation of polygons.
Limitations and Future Work
- Open Problems: The paper identifies several open questions:
- Are there polynomial-time algorithms for tiling polyominos with larger rectangles (beyond squares and dominos) in the corner representation?
- For problems that are NP-complete in the area representation, are they also NP-complete in the corner representation?
- Can near-linear time algorithms be developed for domino tiling and packing in the corner representation? The authors suggest that techniques from [22] might be adaptable.
- Specific Cases: The paper focuses on axis-parallel edges and corners with integral coordinates. Extensions to more general shapes or coordinate systems are not discussed.
- Constant Factors: While polynomial, the constant factors in the $O(n^3)$ and $O(n^4)$ algorithms might be large in practice, and further optimization could be beneficial.
Summary updated