arXiv · 2306.10714
Efficient Parameterized Pattern Matching in Sublinear Space
Abstract
The parameterized matching problem is a variant of string matching, which is to search for all parameterized occurrences of a pattern $P$ in a text $T$. In considering matching algorithms, the combinatorial natures of strings, especially periodicity, play an important role. In this paper, we analyze the properties of periods of parameterized strings and propose a generalization of Galil and Seiferas's exact matching algorithm (1980) into parameterized matching, which runs in $O(π|T|+|P|)$ time and $O(\log{|P|}+|{\rmΠ}|)$ space in addition to the input space, where ${\rmΠ}$ is the parameter alphabet and $π$ is the number of parameter characters appearing in $P$ plus one.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Haruki Ideguchi, Diptarama Hendrian, Ryo Yoshinaka, Ayumi Shinohara. 2023-06-19. Efficient Parameterized Pattern Matching in Sublinear Space. https://arxiv.org/abs/2306.10714
Cite the original work for its findings. Save a collection to share your selection of sources.