Structural pattern matching - Succinctly
Document Type
Conference Proceeding
Publication Date
12-1-2017
Abstract
Let T be a text of length n containing characters from an alphabet ∑, which is the union of two disjoint sets: ∑s containing static characters (s-characters) and ∑p containing parameterized characters (p-characters). Each character in ∑p has an associated complementary character from p. A pattern P (also over ∑) matches an equal-length substring S of T iff the s-characters match exactly, there exists a one-To-one function that renames the p-characters in S to the p-characters in P, and if a p-character x is renamed to another p-character y then the complement of x is renamed to the complement of y. The task is to find the starting positions (occurrences) of all such substrings S. Previous indexing solution [Shibuya, SWAT 2000], known as Structural Suffix Tree, requires (n log n) bits of space, and can find all occ occurrences in time O(|P| log σ+occ), where σ = |∑|. In this paper, we present the first succinct index for this problem, which occupies n log σ + O(n) bits and offers O(|P| log σ + occ · log n log σ) query time.
Publication Source (Journal or Book title)
Leibniz International Proceedings in Informatics, LIPIcs
Recommended Citation
Ganguly, A., Shah, R., & Thankachan, S. (2017). Structural pattern matching - Succinctly. Leibniz International Proceedings in Informatics, LIPIcs, 92 https://doi.org/10.4230/LIPIcs.ISAAC.2017.35