Run-Length Encoded Nondeterministic KMP and Suffix Automata
Formal Languages and Automata Theory
2014-12-18 v2 Data Structures and Algorithms
Abstract
We present a novel bit-parallel representation, based on the run-length encoding, of the nondeterministic KMP and suffix automata for a string 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 space and allows one to simulate the automata on a string in time per transition, where is the alphabet size, is the length of , is the length of the run-length encoding of and is the machine word size in bits. The input string can be given in either unencoded or run-length encoded form.
Keywords
Cite
@article{arxiv.1412.3688,
title = {Run-Length Encoded Nondeterministic KMP and Suffix Automata},
author = {Emanuele Giaquinta},
journal= {arXiv preprint arXiv:1412.3688},
year = {2014}
}
Comments
Various fixes