加载中…
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.

生成讲解博客的中文版本

生成AI智能校验的中文版本