954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

automaton simulator

hi! uhm. can anyone please help me out with this program im creating.
its a automaton simulator.
im having a problem with my way of presenting the simulation.
my automaton accepts strings (0 and 1).
the user then inputs any string from 0 and 1 ( eg. 000111 , 0101010 01011 etc)
i have two command buttons. and a label to contain the input string.
one command button for "1" and another for "0"

this dfa btw accepts strings only that doesnt have a substring of 0 on the 3rd position

uhm. im sure you guys know about dfa's.
my program is very easy to comprehend.

my problem is how to make lines colored out to mimic every input of 1 or 0.
these lines are the ones connecting one state to another state.this is my process of simulating the dfa.

or if you guys could suggest any simple way on how to simulate a dfa that would be just awesome.

ive attached my program here.
hope you guys could help me out.
thanks! :)

Attachments automaton_simulator.zip (1.5KB)
yeeitsneo
Newbie Poster
22 posts since Sep 2011
Reputation Points: 10
Solved Threads: 1
 

your zip file appears to be corrupt

ChrisPadgham
Posting Pro in Training
413 posts since Sep 2009
Reputation Points: 102
Solved Threads: 78
 

Yeah, it's corrupted. Post your code here.

Sam367
Light Poster
34 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: