paper

Right-to-left online construction of parameterized position heaps

arXiv:1808.01071

Abstract

Two strings of equal length are said to parameterized match if there is a bijection that maps the characters of one string to those of the other string, so that two strings become identical. The parameterized pattern matching problem is, given two strings and , to find the occurrences of substrings in that parameterized match . Diptarama et al. [Position Heaps for Parameterized Strings, CPM 2017] proposed an indexing data structure called parameterized position heaps, and gave a left-to-right online construction algorithm. In this paper, we present a right-to-left online construction algorithm for parameterized position heaps. For a text string of length over two kinds of alphabets and of respective size and , our construction algorithm runs in time with space. Our right-to-left parameterized position heaps support pattern matching queries in time, where is the length of a query pattern and is the number of occurrences to report. Our construction and pattern matching algorithms are as efficient as Diptarama et al.'s algorithms.

Right-to-left online construction of parameterized position heaps · wovepaper