I've read a text file of symbols,states and transition n put it all in a table.It looks like this:
symbols a, b
states q1, q2, q3, q4
start state q4
final state q2, q3
transition state:
q4, epsilon, q1
q1, a, q2
q3, a, q3
q3, b, q1
I've read an algorithm of how to convert it but don't really understand it and how would I create transistion method and what should i have state class?