Abstract

Let ΣΣ and ΠΠ be disjoint alphabets, respectively called the static alphabet and the parameterized alphabet. Two strings xx and yy over Σ∪ΠΣ\cup Π of equal length are said to parameterized match (p-match) if there exists a renaming bijection ff on ΣΣ and ΠΠ which is identity on ΣΣ and maps the characters of xx to those of yy 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 TT, denoted by PSTray(T)\mathsf{PSTray}(T). We show that PSTray(T)\mathsf{PSTray}(T) occupies O(n)O(n) space and supports pattern matching queries in O(m+log⁡(σ+π)+occ)O(m + \log (σ+π) + \mathit{occ}) time, where nn is the length of TT, mm is the length of a query pattern PP, ππ is the number of distinct symbols of ∣Π∣|Π| in TT, σσ is the number of distinct symbols of ∣Σ∣|Σ| in TT and occ\mathit{occ} is the number of p-matching occurrences of PP in TT. We also present how to build PSTray(T)\mathsf{PSTray}(T) in O(n)O(n) time from the parameterized suffix tree of TT.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.