Efficient weighted expressions conversion

From MaRDI portal





A formal series with coefficients in a semiring \(K\) and variables in a finite alphabet \(A\) is a formal expression of the form \(\sum _{u\in A^*}k_uu\), where \(A^*\) is the free monoid on \(A\) and \(k_u\in K\). A semiring structure is defined on the set of formal series by defining \((\sum _{u\in A^*}k_uu)+(\sum _{u\in A^*}k'_uu)=\sum _{u\in A^*}(k_u+k'_u)u\) and \((\sum _{u\in A^*}k_uu)\cdot (\sum _{u\in A^*}k'_uu)=\sum _{u\in A^*}({\sum_{u_1u_2=u}{k_{u_1}\cdot k'_{u_2}}}) u\). Furthermore the star of a series \(S\) is defined (when it exists) by \(\sum_{n\geq 0}S^n\), where \(S^0=\epsilon\), \(S^n=S^{n-1}S\) when \(n>0\). A polynomial is a formal power series whose support \(\{u\in A^*; k_u\not= 0\}\) is finite. Finally, the semiring of regular series is the smallest set of formal series containing all polynomials and being closed under addition, product and star, or equivalently defined by a weighted regular expression. \textit{M. P. Schützenberger} showed in [``On the definition of a family of automata, Inf. Control 4, 245--270 (1961; Zbl 0104.00702)] that a series is regular if and only if it is recognizable by a weighted automaton. Previously known algorithms for converting a weighted regular expression into a weighted automaton produced \(O(n)\) states and \(O(n^2)\) transitions, where \(n\) is the size of the expression. Extending the work of \textit{J. Hromkovič, S. Seibert} and \textit{T. Wilke} [``Translating regular expressions into small \(\epsilon\)-free nondeterministic finite automata, J. Comput. Syst. Sci. 62, No.~4, 565--588 (2001; Zbl 1014.68093)] on the Boolean case, the authors give a conversion with \(O(n)\) states and \(O(n\log^2(n))\) transitions in \(O(n\log^2(n))\) time.





Describes a project that uses

Uses Software






This page was built for publication: Efficient weighted expressions conversion

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3515463)