Minimum pumping length for a regular language
问题 How to calculate minimum pumping length of a regular language. For example if i have 0001* then minimum pumping length for this should be 4 ,that is 000 could not be pumped . Why it is so? 回答1: It will be less than or equal to the number of states in a minimal DFA for the language, minus one. So convert the regular expression into a DFA, minimize it, and count the states. For your example: 0001* SOURCE SYMBOL DESTINATION q1 0 q2 q1 1 q5 q2 0 q3 q2 1 q5 q3 0 q4 q3 1 q5 q4 0 q5 q4 1 q4 q5 0 q5