TL;DR
This paper introduces the first compact and succinct data structures for representing polyominoes and bar graphs. By cleverly combining ordinal trees with bitstrings, the authors achieve near-optimal storage space while supporting constant-time navigation (finding neighbors) and visibility queries (determining line-of-sight between cells).
What Problem Does This Paper Address?
Polyominoes—shapes formed by joining unit squares edge-to-edge (think Tetris pieces, but of any size)—are fundamental in combinatorial geometry and robotics. In robotics, they are often used to model planar environments where each cell is a navigable space and missing cells represent obstacles.
To navigate these environments, algorithms like Dijkstra’s need to perform "navigation queries" (e.g., "What is the cell to my left?") and "visibility queries" (e.g., "Can a robot at cell A see a target at cell B?"). Traditional data structures like adjacency matrices are space-hogs ($O(n^2)$), while adjacency lists are better but still lack the "compactness" required for massive grids. The challenge is to store these shapes using a number of bits as close as possible to the theoretical information-theoretic minimum without sacrificing query speed.
Methods
The authors employ a two-pronged approach for different classes of shapes:
1. Polyominoes
For "nice" polyominoes (those that fit in a thin strip), the authors propose a Covering Tree ($T^*$). They augment the polyomino with dummy nodes to ensure every cell has a "parent" above or to its left, forming an ordinal tree.
- Space: They use a succinct tree representation ($2n$ bits) plus a bitstring ($n$ bits) to track horizontal adjacencies.
- Generalization: For arbitrary polyominoes that don't fit in thin strips, they use a Slicing technique. The shape is partitioned into horizontal slices. They then use bitstrings ($Top$ and $Bot$) to "stitch" these slices together, allowing the data structure to handle holes and disconnected components.
2. Bar Graphs
Bar graphs are a simpler subclass of polyominoes that look like histograms. Because they are more structured, the authors can achieve succinctness (using $B + o(B)$ bits, where $B$ is the lower bound).
- Technique: They use Block Partitioning and a Lookup Table for small sub-graphs. To manage the relationship between blocks of different heights, they employ a Cartesian Tree. This allows them to determine visibility across the entire graph by checking the "minimum height" bar between two points in constant time.
Datasets
As a theoretical contribution to data structures, this paper does not use empirical datasets or training sets. Instead, it relies on mathematical proofs and algorithmic analysis. The "objects" of study are the families of all possible polyominoes and bar graphs of size $n$.
Key Insights and Ideas
- The Tree-Grid Bridge: The most striking insight is mapping a 2D grid structure into a 1D ordinal tree traversal. By using the "level-order" and "pre-order" indices of a tree, the authors can jump between spatial neighbors in $O(1)$ time.
- Slicing for Compactness: The authors prove that by choosing the right "slicing type," they can limit the number of boundary cells between slices to $2n/f(n)$. This optimization is what keeps the space complexity compact even for wildly irregular shapes.
- Information-Theoretic Bounds: The paper highlights the gap between current knowledge and their results. For polyominoes, at least $\approx 2.00091n$ bits are needed to distinguish shapes; this paper achieves $\approx 3n$ bits, proving their structure is "compact" (within a constant factor of the minimum).
Key Results
- Polyominoes: Can be stored in $(3 + \epsilon)n + o(n)$ bits with constant-time navigation and visibility queries. If you are willing to let visibility queries take slightly longer ($O(t(n))$), the space drops to a clean $3n + o(n)$ bits.
- Bar Graphs: These can be stored in $n + o(n)$ bits. Since at least $n-1$ bits are required to represent a bar graph, this structure is succinct—it is nearly perfect in its space efficiency.
- Query Efficiency: All navigation queries (left, right, above, below, degree, adjacency) are handled in $O(1)$ time across all proposed structures.
Limitations and Future Work
- Distance Queries: The current structures handle "neighborhood" (distance 1) and "visibility" (straight line). The authors leave "distance queries" (finding the shortest path distance $d$ between any two cells in $O(1)$) as an open challenge.
- Succinctness for Polyominoes: While the bar graph structure is succinct, the general polyomino structure is "only" compact. There is still a gap between the $2n$ bit lower bound and the $3n$ bit upper bound achieved here.
- Convexity: The authors suggest investigating whether "column-convex" or "row-convex" polyominoes (shapes where every column/row is a single contiguous block) can be represented even more efficiently.
Summary updated