Can a deterministic finite acceptor begin at the end of string and move toward the start?

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

Вопрос

If so, how is this drawn as a graph? what would you label your start state? and would you draw the graph as moving from right to left as well?

Это было полезно?

Решение

Since your are dealing with deterministic finite automata, the answer is no.

The main problem is that you may have two transitions (p, a, r) and (q, a, r) leading to the same state r, but with p different from q. Then if you start in r and try to read the letter a backwards, should you end up in p or in q?

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top