Parameterized Pattern Matching -- Succinctly

Abstract

We consider the Parameterized Pattern Matching problem, where a pattern P matches some location in a text 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 T contains n characters from a static alphabet s and a parameterized alphabet p, where s p = and |s p|=σ. A pattern P matches a substring S of 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 (n n) bits of space, and can find all occ occurrences of P in O(|P| σ+ occ) time. In this paper, we present the first succinct index that occupies n σ + O(n) bits and answers queries in O((|P|+ occ· n) σ σ) time. We also present a compact index that occupies O(nσ) bits and answers queries in O(|P| σ+ occ· 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\"affer for Parameterized Dictionary Matching [CPM, 1994].

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…