English

General Algorithms for Testing the Ambiguity of Finite Automata

Computational Complexity 2008-02-25 v1

Abstract

This paper presents efficient algorithms for testing the finite, polynomial, and exponential ambiguity of finite automata with ϵ\epsilon-transitions. It gives an algorithm for testing the exponential ambiguity of an automaton AA in time O(AE2)O(|A|_E^2), and finite or polynomial ambiguity in time O(AE3)O(|A|_E^3). These complexities significantly improve over the previous best complexities given for the same problem. Furthermore, the algorithms presented are simple and are based on a general algorithm for the composition or intersection of automata. We also give an algorithm to determine the degree of polynomial ambiguity of a finite automaton AA that is polynomially ambiguous in time O(AE3)O(|A|_E^3). Finally, we present an application of our algorithms to an approximate computation of the entropy of a probabilistic automaton.

Keywords

Cite

@article{arxiv.0802.3254,
  title  = {General Algorithms for Testing the Ambiguity of Finite Automata},
  author = {Cyril Allauzen and Mehryar Mohri and Ashish Rastogi},
  journal= {arXiv preprint arXiv:0802.3254},
  year   = {2008}
}
R2 v1 2026-06-21T10:14:58.356Z