conference

Computing the Parameterized Burrows-Wheeler Transform Online

The 29th International Symposium on String Processing and Information Retrieval (SPIRE2022), Lecture Notes in Computer Science Vol.13617, pp.70-85 (2022), [peer-reviewed]
Event Date: November 7-9, 2022

Abstract / 概要

Parameterized strings are a generalization of strings in that their characters are drawn from two different alphabets, where one is considered to be the alphabet of static characters and the other to be the alphabet of parameter characters. Two parameterized strings are a parameterized match if there is a bijection over all characters such that the bijection transforms one string to the other while keeping the static characters (i.e., it behaves as the identity on the static alphabet). Ganguly et al. [SODA 2017] proposed the parameterized Burrows–Wheeler transform (pBWT) as a variant of the Burrows–Wheeler transform for space-efficient parameterized pattern matching. In this paper, we propose an algorithm for computing the pBWT online by reading the characters of a given input string one-by-one from right to left. Our algorithm works in $O(|\Pi|\log{n}/\log{\log{n}})$ amortized time for each input character, where $n$ and $\Pi$ denote the size of the input string and the alphabet of the parameter characters, respectively.