Extending the Burrows-Wheeler Transform for Cartesian Tree Matching and Constructing It
Eric M. Osterkamp, Dominik K\"oppl

TL;DR
This paper improves the construction of a Burrows-Wheeler transform-based index for Cartesian tree matching, making it more space-efficient and extendable to multiple circular texts, with applications in time series and melody matching.
Contribution
It introduces a compact space construction method for the index and extends it to handle multiple circular texts dynamically, enhancing efficiency and applicability.
Findings
Achieves linear-time construction with compact space.
Extends index to multiple circular texts without increasing complexity.
Supports dynamic updates with minimal slowdown.
Abstract
Cartesian tree matching is a form of generalized pattern matching where a substring of the text matches with the pattern if they share the same Cartesian tree. This form of matching finds application for time series of stock prices and can be of interest for melody matching between musical scores. For the indexing problem, the state-of-the-art data structure is a Burrows-Wheeler transform based solution due to [Kim and Cho, CPM'21], which uses nearly succinct space and can count the number of substrings that Cartesian tree match with a pattern in time linear in the pattern length. The authors address the construction of their data structure with a straight-forward solution that, however, requires pointer-based data structures, which asymptotically need more space than compact solutions [Kim and Cho, CPM'21, Section A.4]. We address this bottleneck by a construction that requires compact…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
