state-machine Questions

2

I am programming in C for a microcontroller so I am not sure if this question belongs here or on the electronics stackexchange. Just let me know if it doesn't fit here and I will move the question ...
Teleview asked 4/6, 2020 at 12:46

16

Solved

I am just curious if there is a programming language which has state machines (similar to boost::statechart) as primary language construct. Analogies - c# has delegates where java uses the observe...
Rootlet asked 24/11, 2009 at 22:53

2

Solved

Is there a tool similar to Eclipse Based Visual SCXML Editor for constructing Harel State Tables? Currently the status in the project page is code unreleased. how do i install the plugin?
Corrigible asked 6/1, 2011 at 23:43

3

Solved

Both of them represent the different states a system can take. So what is the difference of Petri Nets and Finite State Machines? When do I use Petri Nets, and when do I use Finite State Mach...
Fortify asked 30/12, 2018 at 19:29

23

Update: Again thanks for the examples, they have been very helpful and with the following, I don't mean to take anything away from them. Aren't the currently given examples, as far as I understand ...
Leadin asked 7/5, 2011 at 20:22

6

I successfully integrated the most recent AASM gem into an application, using it for the creation of a wizard. In my case I have a model order class Order < ActiveRecord::Base belongs_to :use...
Pastiche asked 7/6, 2010 at 11:7

10

Solved

What is the best way to write a state machine in C? I usually write a big switch-case statement in a for(;;), with callbacks to re-enter the state machine when an external operation is finished. Do...
Merozoite asked 16/2, 2010 at 6:41

1

Solved

I tried to create graph from here Improving graphviz layout and want to get the exact picture like in post, but can't vertically align nodes and get nice curve in q3->q3. My question is about h...
Jessabell asked 18/9, 2022 at 15:58

2

Can anyone please explain with example what is the difference between finite state machine and finite automata?
Susanasusanetta asked 12/3, 2014 at 14:31

2

Solved

I am currently learning java and would like to know how to control state in a OO way. I implemented a Pong app. If I wanted multiple states like gameplay and menu, and each one of these states had ...
Saleratus asked 26/4, 2011 at 12:28

3

I am using stateless to implement logic of a state machine in our application.We have an AcceptedFile state that has other inner (sub)states.The problem is I don't know how should I indicate initia...
Stodge asked 17/7, 2014 at 8:7

9

Solved

I'm using several enum-based state machines in my Android application. While these work very well, what I am looking for is a suggestion for how to elegantly receive events, typically from register...
Illative asked 30/8, 2014 at 9:58

8

Solved

I have something to do for work and I need your help. We want to implement a FSM - Finite State Machine, to identify char sequence(like: A, B, C, A, C), and tell if it accepted. We think to implem...
Goodell asked 4/11, 2012 at 17:46

2

Solved

I'm following this article to go through the steps on how to set up a cloudwatch rule in the AWS console to trigger a StepFunction state machine, link:https://blog.shikisoft.com/3-ways-to-schedule-...

7

I wonder if a state machine is just the state pattern at work or if there is actually a difference between those two? I found this article with the bold title "the state design pattern vs state ma...
Natalee asked 8/11, 2013 at 12:49

2

Solved

What are the differences and similarities between the state machine diagram and flowchart? So far I found that the state diagram shows us the actual change in the state, not the process or commands...
Cower asked 1/1, 2022 at 10:33

2

I am wondering how to access the cause of my custom exception raised inside my lambda function. I need to access it at the end of my Step Functions workflow, as shown below. The diagram below is an...

5

I am studying for an exam and a question on one of the previous exams is: A lot of answers on the web are saying Statecharts and Statemachines are the same thing? If not could someone explain th...
Tormoria asked 4/5, 2016 at 18:4

2

Solved

I have a number of relatively simple (auto-generated) graphs in graphviz dot format. These show the path through a state machine, but dot has a slightly confusing habit of deciding that two nodes m...
Dictaphone asked 9/7, 2009 at 14:36

2

Solved

I have created a stepfunction, the definition for this statemachine below (step-function.json) is used in terraform (using the syntax in this page:https://docs.aws.amazon.com/sagemaker/latest/APIRe...

4

Solved

Can´t find anything affirmative about it. And a NFA with any epsilon transition is a epsilon-NFA ? Thanks.

1

I've read the "Create Multi-Step Wizard" in Advanced Rails Recipes. I've also read and re-read the documentation for the updated FSM I'm using called Workflow, and looked here and h...
Allyson asked 26/5, 2010 at 23:41

3

Solved

I am working on investigation of one front-end application of medium complexity. At this moment it is written in pure javascript, it has a lot of different event-based messages connecting few main ...
Rescript asked 1/2, 2019 at 15:41

3

Solved

I have a working cart state machine to add items in cart I'm using reactjs. On refreshing page, context is not persisted.I`m new to state machines and would like to persist state in my app.Below is...
Hass asked 21/5, 2020 at 12:17

3

Solved

I have heard people using these terms. I wonder if they refer to the same thing or is there a difference between these two?
Charlean asked 19/11, 2011 at 7:52

© 2022 - 2025 — McMap. All rights reserved.