fsm Questions

7

Solved

Yesterday I had to parse a very simple binary data file - the rule is, look for two bytes in a row that are both 0xAA, then the next byte will be a length byte, then skip 9 bytes and output the giv...
Gower asked 26/5, 2010 at 19:38

2

Solved

I am reading a file that is filled with hex numbers. I have to identify a particular pattern, say "aaad" (without quotes) from it. Every time I see the pattern, I generate some data to some o...
Binetta asked 5/5, 2010 at 20:10

4

Solved

Is it feasible to use the yield keyword to implement a simple state machine as shown here. To me it looks like the C# compiler has done the hard work for you as it internally implements a state mac...
Choiseul asked 28/7, 2009 at 15:19

2

Solved

Does a general proof exist for the equivalence of two (deterministic) finite state machines that always takes finite time? That is, given two FSMs, can you prove that given the same inputs they wil...
Aim asked 6/8, 2009 at 21:15

7

I want to write an FSM which starts with an idle state and moves from one state to another based on some event. I am not familiar with coding of FSM and google didn't help. Appreciate if someone co...
fsm
Salmonella asked 7/4, 2009 at 14:32

1

Solved

I'm using AASM by Rubyist to build a 4-step wizard for an AR object. According to the state of the object, there are different validations that need to be done. What is the smartest way to validate...
Lipolysis asked 6/4, 2009 at 11:56

6

Solved

In the Stack Overflow podcast #36 (https://blog.stackoverflow.com/2009/01/podcast-36/), this opinion was expressed: Once you understand how easy it is to set up a state machine, you’ll never try to...
Nazareth asked 8/2, 2009 at 2:11

© 2022 - 2024 — McMap. All rights reserved.