Paper record
W4252347333pBWT: Achieving Succinct Data Structures for Parameterized Pattern Matching and Related Problems
Arnab Ganguly, Rahul Shah, Sharma V. Thankachan
- Year
- 2017
- Venue
- ACM-SIAM Symposium on Discrete Algorithms (SODA)
- References
- 44
- Cited by
- 43
Details and counts from OpenAlex.
Abstract
The fields of succinct data structures and compressed text indexing have seen quite a bit of progress over the last two decades. An important achievement, primarily using techniques based on the Burrows-Wheeler Transform (BWT), was obtaining the full functionality of the suffix tree in the optimal number of bits. A crucial property that allows the use of BWT for designing compressed indexes is order-preserving suffix links. Specifically, the relative order between two suffixes in the subtree of an internal node is same as that of the suffixes obtained by truncating the first character of the two suffixes. Unfortunately, in many variants of the text-indexing problem, for e.g., parameterized pattern matching, 2D pattern matching, and order-isomorphic pattern matching, this property does not hold. Consequently, the compressed indexes based on BWT do not directly apply. Furthermore, a compressed index for any of these variants has been elusive throughout the advancement of the field of succinct data structures. We achieve a positive breakthrough on one such problem, namely the Parameterized Pattern Matching problem. Let T be a text that contains η characters from an alphabet Σ, which is the union of two disjoint sets: S s containing static characters (s-characters) and Σ ρ containing parameterized characters (p-characters). A pattern P (also over Σ) matches an equal-length substring S of T iff the s -characters match exactly, and there exists a one-to-one function that renames the p -characters in S to that in P. The task is to find the starting positions (occurrences) of all such substrings S. Previous index [Baker, STOC 1993], known as Parameterized Suffix Tree , requires Θ( n log n ) bits of space, and can find all occ occurrences in time O (| P | log σ + occ ), where σ = |Σ|. We introduce an η log σ + O ( n )-bit index with O (| P | log σ+ occ Log η log σ) query time. At the core, lies a new BWT-like transform, which we call the Parameterized Burrows-Wheeler Transform (pBWT). The techniques are extended to obtain a succinct index for the Parameterized Dictionary Matching problem of Idury and Schaffer [CPM, 1994].