Emergent Mind

Parameterized Pattern Matching -- Succinctly

(1603.07457)
Published Mar 24, 2016 in cs.DS

Abstract

We consider the $Parameterized$ $Pattern$ $Matching$ problem, where a pattern $P$ matches some location in a text $\mathsf{T}$ iff there is a one-to-one correspondence between the alphabet symbols of the pattern to those of the text. More specifically, assume that the text $\mathsf{T}$ contains $n$ characters from a static alphabet $\Sigmas$ and a parameterized alphabet $\Sigmap$, where $\Sigmas \cap \Sigmap = \varnothing$ and $|\Sigmas \cup \Sigmap|=\sigma$. A pattern $P$ matches a substring $S$ of $\mathsf{T}$ iff the static characters match exactly, and there exists a one-to-one function that renames the parameterized characters in $S$ to that in $P$. Previous indexing solution [Baker, STOC 1993], known as $Parameterized$ $Suffix$ $Tree$, requires $\Theta(n\log n)$ bits of space, and can find all $occ$ occurrences of $P$ in $\mathcal{O}(|P|\log \sigma+ occ)$ time. In this paper, we present the first succinct index that occupies $n \log \sigma + \mathcal{O}(n)$ bits and answers queries in $\mathcal{O}((|P|+ occ\cdot \log n) \log\sigma\log \log \sigma)$ time. We also present a compact index that occupies $\mathcal{O}(n\log\sigma)$ bits and answers queries in $\mathcal{O}(|P|\log \sigma+ occ\cdot \log n)$ time. Furthermore, the techniques are extended to obtain the first succinct representation of the index of Shibuya for $Structural$ $Matching$ [SWAT, 2000], and of Idury and Sch\"{a}ffer for $Parameterized$ $Dictionary$ $Matching$ [CPM, 1994].

We're not able to analyze this paper right now due to high demand.

Please check back later (sorry!).

Generate a summary of this paper on our Pro plan:

We ran into a problem analyzing this paper.

Newsletter

Get summaries of trending comp sci papers delivered straight to your inbox:

Unsubscribe anytime.