in reply to Re (tilly) 1: Donuts and DFA's
in thread Research ideas
Then, before proceeding to any further state, you check to make sure your current state isn't in the list of failed states. You could also prune states that are too old to match anymore, and also optimize the search of this failed state list heavily based on your current state.
The other thing you could do to make it more efficient is instead of going to the furthest past state, you could allow branching and store multiple fail-states for each failure that occurs.
State machines are odd beasts :) .
Ciao,
Gryn
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: The Return of the Donuts
by tilly (Archbishop) on Feb 21, 2001 at 00:45 UTC |