The Parameterized Suffix Tray
arXiv:2012.10092
Abstract
Let and be disjoint alphabets, respectively called the static alphabet and the parameterized alphabet. Two strings and over of equal length are said to parameterized match (p-match) if there exists a renaming bijection on and which is identity on and maps the characters of to those of so that the two strings become identical. The indexing version of the problem of finding p-matching occurrences of a given pattern in the text is a well-studied topic in string matching. In this paper, we present a state-of-the-art indexing structure for p-matching called the parameterized suffix tray of an input text , denoted by . We show that occupies space and supports pattern matching queries in time, where is the length of , is the length of a query pattern , is the number of distinct symbols of in , is the number of distinct symbols of in and is the number of p-matching occurrences of in . We also present how to build in time from the parameterized suffix tree of .
Accepted for CIAC 2021