Affiliation:
1. School of Computing, Queen’s University, Kingston, Ontario K7L 2N8, Canada
Abstract
To get a more comprehensive understanding of the amount of branching in computations of a nondeterministic finite automaton (NFA), we introduce and study the string path width and depth path width measures. For a given NFA, the string path width on a string [Formula: see text] counts the number of all complete computations on [Formula: see text], and the depth path width on an integer [Formula: see text] counts the number of complete computations on all strings of length [Formula: see text]. We give an algorithm to decide the finiteness of the depth path width of an NFA. Deciding finiteness of string path width can be reduced to the corresponding question on ambiguity. An NFA is nearly acyclic if any computation can pass through at most one cycle. The class of nearly acyclic NFAs consists of exactly all NFAs with finite depth path width. Using this characterization we show that the finite depth path width of an [Formula: see text]-state NFA over a [Formula: see text]-letter alphabet is at most [Formula: see text] and that this bound is tight. The nearly acyclic NFAs recognize exactly the class of constant density regular languages.
Publisher
World Scientific Pub Co Pte Lt
Subject
Computer Science (miscellaneous)