Building the Minimal Automaton of A*X in Linear Time, When X Is of Bounded Cardinality

We present an algorithm for constructing the minimal automaton recognizing A*X, where the pattern X is a set of m (that is a fixed integer) non-empty words over a finite alphabet A whose sum of lengths is n. This algorithm, inspired by Brzozowski's minimization algorithm, uses sparse lists to achieve a linear time complexity with respect to n.