Space-Efficient Data Structures for Polyominoes and Bar Graphs

Magnus Berg*, Shahin Kamali, Katherine Ling, Cooper Sigrist

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

We provide a compact data structure for representing polyominoes that supports neighborhood and visibility queries. Neighborhood queries concern reporting adjacent cells to a given cell, and visibility queries determine whether a straight line can be drawn within the polyomino that connects two specified cells. For an arbitrary small ϵ > 0, our data structure can encode a polyomino with n cells in (3 + ϵ)n + o(n) bits while supporting all queries in constant time. The space complexity can be improved to 3n + o(n), while supporting neighborhood queries in O(1) and visibility queries in O(t(n)) for any arbitrary t(n) ∈ ω(1). Previous attempts at enumerating polyominoes have indicated that at least 2.00091n-o(n) bits are required to differentiate between distinct polyominoes, which shows our data structure is compact.In addition, we introduce a succinct data structure tailored for bar graphs, a specific subclass of polyominoes resembling histograms. We show that a bar graph comprising n cells can be encoded using n + o(n) bits, enabling constant-time query processing. Meanwhile, n - 1 bits are necessary to represent any bar graph, proving our data structure is succinct.

Original languageEnglish
Title of host publicationData Compression Conference (DCC) : 2024 Data Compression Conference
EditorsAli Bilgin, James E. Fowler, Joan Serra-Sagrista, Yan Ye, James A. Storer
PublisherIEEE
Publication date2024
Pages253-262
ISBN (Print)979-8-3503-8588-5
ISBN (Electronic)979-8-3503-8587-8
DOIs
Publication statusPublished - 2024
Externally publishedYes
Event2024 Data Compression Conference, DCC 2024 - Snowbird, United States
Duration: 19. Mar 202422. Mar 2024

Conference

Conference2024 Data Compression Conference, DCC 2024
Country/TerritoryUnited States
CitySnowbird
Period19/03/202422/03/2024
SponsorUniversity of Arizona
SeriesData Compression Conference Proceedings
ISSN1068-0314

Keywords

  • Compact Data Structures
  • Navigation Oracle
  • Polyominoes
  • Robot Navigation
  • Succinct Data Structures

Fingerprint

Dive into the research topics of 'Space-Efficient Data Structures for Polyominoes and Bar Graphs'. Together they form a unique fingerprint.

Cite this