Finite State Machines


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Finite State Machines

  1. #1
    Join Date
    Feb 2004
    Posts
    111

    Finite State Machines

    I'm working on a design for a finite state machine. Normally, any FSM state will have embedded within it, the logic for the next state to enter. For example, the "Eat" state will have embedded in it logic for the Sleep or Poo states that might follow.

    Now, what I want to do is set up a state machine where the next state to be entered is determined by external conditions.

    I'm sure that this can be done. However, I'm wondering if there are any gotchas that I might run into when coding. Or, better still, does anyone have any recommendations?

    L -

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Which version of .NET are you using? If you can use .NET 3.0, you might consider using Windows Workflow Foundation (WF):

    http://channel9.msdn.com/Showpost.aspx?postid=122931
    http://www.microsoft.com/uk/msdn/scr...Workflows.aspx
    http://www.odetocode.com/Articles/460.aspx
    Last edited by Phil Weber; 04-13-2008 at 09:36 PM.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

  3. #3
    Join Date
    Feb 2004
    Posts
    111
    I'm using version 3.0 with VS2005. There is a state machine class/engine in the WF, isn't there?

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Java applet to VB
    By Maurice in forum Java
    Replies: 0
    Last Post: 02-11-2003, 01:10 AM
  2. Web Farm Application State
    By Al Guten in forum ASP.NET
    Replies: 0
    Last Post: 11-14-2002, 12:42 PM
  3. Replies: 1
    Last Post: 04-05-2002, 11:47 AM
  4. ASP+ session state management
    By Ariel Azia in forum ASP.NET
    Replies: 3
    Last Post: 08-02-2000, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center