Abstract
In this paper, we start a systematic study of the number of accepting states. For a regular language $L$, we define the complexity $\asc(L)$ as the minimal number of accepting states necessary to accept $L$ by deterministic finite automata. With respect to nondeterministic automata, the corresponding measure is $\nasc(L)$. We prove that, for any non-negative integer $n$, there is a regular language $L$ such that $\asc(L)=n$, whereas we have $\nasc(R)\leq 2$ for any regular language $R$. Moreover, for a $k$-ary regularity preserving operation $\circ$ on languages, we define $g_{\circ}^{\asc}(n_1,n_2,\dots ,n_k)$ as the set of all integers~$r$ such that there are $k$ regular languages $L_i$, $1\leq i\leq k$, such that $\asc(L_i)=n_i$ for $1\leq i\leq k$ and $\asc(\circ(L_1,L_2,\dots ,L_k))=r$. We determine this set for the operations complement, union, product, Kleene closure, and set difference.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.