Abstract

We present a novel bit-parallel representation, based on the run-length encoding, of the nondeterministic KMP and suffix automata for a string PP with at least two distinct symbols. Our method is targeted to the case of long strings over small alphabets and complements the method of Cantone et al. (2012), which is effective for long strings over large alphabets. Our encoding requires O((σ+m)⌈ρ/w⌉)O((σ+ m)\lceil ρ/ w\rceil) space and allows one to simulate the automata on a string in time O(⌈ρ/w⌉)O(\lceil ρ/ w\rceil) per transition, where σσ is the alphabet size, mm is the length of PP, ρρ is the length of the run-length encoding of PP and ww is the machine word size in bits. The input string can be given in either unencoded or run-length encoded form.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.