Revisiting the Folklore Algorithm for Random Access to Grammar-Compressed Strings

Alan M. Cleary, Joseph Winjum, Jordan Dood, Shunsuke Inenaga

研究成果: 書籍/レポート タイプへの寄稿会議への寄与

抄録

Grammar-based compression is a widely-accepted model of string compression that allows for efficient and direct manipulations on the compressed data. Most, if not all, such manipulations rely on the primitive random access queries, a task of quickly returning the character at a specified position of the original uncompressed string without explicit decompression. While there are advanced data structures for random access to grammar-compressed strings that guarantee theoretical query time and space bounds, little has been done for the practical perspective of this important problem. In this paper, we revisit a well-known folklore random access algorithm for grammars in the Chomsky normal form, modify it to work directly on general grammars, and show that this modified version is fast and memory efficient in practice.

本文言語英語
ホスト出版物のタイトルString Processing and Information Retrieval - 31st International Symposium, SPIRE 2024, Proceedings
編集者Zsuzsanna Lipták, Edleno Moura, Karina Figueroa, Ricardo Baeza-Yates
出版社Springer Science and Business Media Deutschland GmbH
ページ88-101
ページ数14
ISBN(印刷版)9783031721991
DOI
出版ステータス出版済み - 2025
イベント31st International Symposium on String Processing and Information Retrieval, SPIRE 2024 - Puerto Vallarta, メキシコ
継続期間: 9月 23 20249月 25 2024

出版物シリーズ

名前Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
14899 LNCS
ISSN(印刷版)0302-9743
ISSN(電子版)1611-3349

会議

会議31st International Symposium on String Processing and Information Retrieval, SPIRE 2024
国/地域メキシコ
CityPuerto Vallarta
Period9/23/249/25/24

!!!All Science Journal Classification (ASJC) codes

  • 理論的コンピュータサイエンス
  • コンピュータサイエンス一般

フィンガープリント

「Revisiting the Folklore Algorithm for Random Access to Grammar-Compressed Strings」の研究トピックを掘り下げます。これらがまとまってユニークなフィンガープリントを構成します。

引用スタイル