Deciding unique decodability of bigram counts via finite automata

https://doi.org/10.1016/j.jcss.2013.09.003Get rights and content
Under an Elsevier user license
open archive

Highlights

  • We prove that the bigram-decodable strings form a regular language.

  • We construct a cubic-sized NFA for recognizing this language.

  • We show how to simulate this NFA efficiently.

  • We give a lower bound on the size of any DFA for this language.

Abstract

We revisit the problem of deciding by means of a finite automaton whether a string is uniquely decodable from its bigram counts. An efficient algorithm for constructing a polynomial-size Nondeterministic Finite Automaton (NFA) that decides unique decodability is given. This NFA may be simulated efficiently in time and space. Conversely, we show that the minimum deterministic finite automaton for deciding unique decodability has exponentially many states in alphabet size, and compute the correct order of magnitude of the exponent.

Keywords

Uniqueness
Sequence reconstruction
Eulerian graph
Finite-state automata

Cited by (0)