Papers
Topics
Authors
Recent
Search
2000 character limit reached

Breaking a Barrier in Constructing Compact Indexes for Parameterized Pattern Matching

Published 11 Aug 2023 in cs.DS | (2308.05977v1)

Abstract: A parameterized string (p-string) is a string over an alphabet (ΣsΣp)(\Sigma_{s} \cup \Sigma_{p}), where Σs\Sigma_{s} and Σp\Sigma_{p} are disjoint alphabets for static symbols (s-symbols) and for parameter symbols (p-symbols), respectively. Two p-strings xx and yy are said to parameterized match (p-match) if and only if xx can be transformed into yy by applying a bijection on Σp\Sigma_{p} to every occurrence of p-symbols in xx. The indexing problem for p-matching is to preprocess a p-string TT of length nn so that we can efficiently find the occurrences of substrings of TT that p-match with a given pattern. Extending the Burrows-Wheeler Transform (BWT) based index for exact string pattern matching, Ganguly et al. [SODA 2017] proposed the first compact index (named pBWT) for p-matching, and posed an open problem on how to construct it in compact space, i.e., in O(nlgΣsΣp)O(n \lg |\Sigma_{s} \cup \Sigma_{p}|) bits of space. Hashimoto et al. [SPIRE 2022] partially solved this problem by showing how to construct some components of pBWTs for TT in O(nΣplgnlglgn)O(n \frac{|\Sigma_{p}| \lg n}{\lg \lg n}) time in an online manner while reading the symbols of TT from right to left. In this paper, we improve the time complexity to O(nlgΣplgnlglgn)O(n \frac{\lg |\Sigma_{p}| \lg n}{\lg \lg n}). We remark that removing the multiplicative factor of Σp|\Sigma_{p}| from the complexity is of great interest because it has not been achieved for over a decade in the construction of related data structures like parameterized suffix arrays even in the offline setting. We also show that our data structure can support backward search, a core procedure of BWT-based indexes, at any stage of the online construction, making it the first compact index for p-matching that can be constructed in compact space and even in an online manner.

Citations (3)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.