how to generate a state transition diagram in c

Reply

Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

how to generate a state transition diagram in c

 
1
  #1
Sep 5th, 2006
how to generate a state transition diagram in c.. give me the implementation steps
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: how to generate a state transition diagram in c

 
0
  #2
Sep 5th, 2006
What is a state transition diagram?
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 275
Reputation: andor has a spectacular aura about andor has a spectacular aura about andor has a spectacular aura about 
Solved Threads: 29
andor's Avatar
andor andor is offline Offline
Posting Whiz in Training

Re: how to generate a state transition diagram in c

 
1
  #3
Sep 5th, 2006
Last edited by andor; Sep 5th, 2006 at 4:34 am.
If you want to win, you must not loose (Alan Ford)
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

Re: how to generate a state transition diagram in c

 
1
  #4
Sep 6th, 2006
Originally Posted by WolfPack View Post
What is a state transition diagram?
the diagram which have states and is transform to the other state when the condition is satisfied.
eg: a---*-->b where a and b are states. when the condition * exists the state transform from a to b
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: how to generate a state transition diagram in c

 
0
  #5
Sep 6th, 2006
So how do you draw this diagram in paper if a, b and * is given? Give me the steps.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

Re: how to generate a state transition diagram in c

 
1
  #6
Sep 6th, 2006
Originally Posted by WolfPack View Post
So how do you draw this diagram in paper if a, b and * is given? Give me the steps.
A node is created for the state A & B. An arrow is directed from the state A to B.the transition happens only when the condition above the arrow is satisfied
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: how to generate a state transition diagram in c

 
0
  #7
Sep 6th, 2006
So you want C only to draw this?

a---*-->b
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

Re: how to generate a state transition diagram in c

 
1
  #8
Sep 6th, 2006
Originally Posted by WolfPack View Post
So you want C only to draw this?

a---*-->b
yes sir.i need the code to include the nodes as user wish and to specify the conditions.
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 4,359
Reputation: Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future Dave Sinkula has a brilliant future 
Solved Threads: 239
Team Colleague
Dave Sinkula's Avatar
Dave Sinkula Dave Sinkula is offline Offline
long time no c

Re: how to generate a state transition diagram in c

 
1
  #9
Sep 6th, 2006
Originally Posted by WolfPack View Post
What is a state transition diagram?
http://en.wikipedia.org/wiki/Finite_state_machine
Originally Posted by ashokkumarrsp View Post
how to generate a state transition diagram in c.. give me the implementation steps
Can you show your initial attempt? This helps gauge what you can handle for a reply.
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
Reply With Quote Quick reply to this message  
Join Date: Sep 2006
Posts: 8
Reputation: ashokkumarrsp is an unknown quantity at this point 
Solved Threads: 0
ashokkumarrsp ashokkumarrsp is offline Offline
Newbie Poster

Re: how to generate a state transition diagram in c

 
1
  #10
Sep 6th, 2006
Originally Posted by Dave Sinkula View Post
http://en.wikipedia.org/wiki/Finite_state_machine
Can you show your initial attempt? This helps gauge what you can handle for a reply.
i have attempted to create a graph.such that i could include the nodes and make the transition between the nodes..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC