Can a DFA state have two arrows pointing to it with the same value?

StackOverflow https://stackoverflow.com/questions/18976456

  •  29-06-2022
  •  | 
  •  

문제

I know that to be considered a DFA, each state cannot have more than one arrow with the same value pointing to another state. However, can a DFA have a state that has two arrows pointing to it with the same value?

도움이 되었습니까?

해결책

Sure. As long as each response is deterministic, several states might go to the same state on the same next input. Since you can only be in one of the states, determinism isn't lost.

    x
A ----> B
|       |
|y      |z
|       |
V   z   V
C ----> D
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top