Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > The Academy > Tilted Knowledge and How-To


 
 
LinkBack Thread Tools
Old 02-17-2004, 10:57 PM   #1 (permalink)
Crazy
 
Location: Raleigh, NC
Finite Automata

So can someone tell me a good way to determine the conditions needed to arrive in any state in a deterministic finite automata? In small ones I can usually just look at it and figure it out, but what about larger ones?

Thanks
Digilogic is offline  
Old 02-18-2004, 09:12 AM   #2 (permalink)
Crazy
 
Location: St. Louis, MO
I'm not sure what you are asking, can you rephrase it maybe? I'm in an automata theory class so I might be able to help you, but I'm not that smart so maybe not.

Are you asking for an algorithm that given a DFA and a state of that DFA, that tells you the input(s) that get you to that state?

If that is what you are asking, then wouldn't the answer simply be to make the state you want to get to the only final state and have the resulting DFA be the machine that accepts valid inputs?

I guess I just don't know what you mean by conditions.
happyraul is offline  
Old 02-18-2004, 10:46 AM   #3 (permalink)
Crazy
 
Location: Raleigh, NC
Well in my class, we use a program that allows us to draw the dfa and then type in the requirements of a string to land on that state. Then there is a feature to check it for us and tell if our conditions are right. Like if I am supposed to design a dfa that recognizes strings of a and b that end in b. The conditions of the second and final state would be that the string ends in b.
Digilogic is offline  
Old 02-18-2004, 02:30 PM   #4 (permalink)
kel
WARNING: FLAMMABLE
 
Location: Ask Acetylene
Well it's pretty mechanical,
By set of conditions you must mean input string correct?
Simply follow the arrows on input character at a time till you reach the end of the input string. The state you end up is the final state.

If you want to know the conditions it takes to reach a specific state then just write the regular expression for the machine as if the final state were the specific state you want to look at.
__________________
"It better be funny"
kel is offline  
 

Tags
automata, finite


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 07:48 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76