hsm
C++ framework library to simplify state-driven code (by amaiorano)
roost-hsm
Hierarchical State Machines in C++. A (sane) alternative to Boost MSM. (by ragnot)
Our great sponsors
hsm | roost-hsm | |
---|---|---|
1 | 1 | |
106 | 3 | |
- | - | |
0.0 | 2.0 | |
over 2 years ago | over 3 years ago | |
C++ | C++ | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hsm
Posts with mentions or reviews of hsm.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Is it ok to have state-wide conditions in a Finite State Machine? Or does that defeat the purpose?
Finally you can make a more complete Hierarchical (or Nested) State Machine, which allows you to have states within states. This is what we've done in several games I've worked on. This can allow reusing states in multiple contexts, such as being in an Idle state that pushes a Targeting state, or in a Running state that also pushes the Targeting state. You are then considered in all of the states on your state stack. This is tricky to implement right though and needs careful design, but used correctly can be extremely powerful. I'm aware of a C++ HSM library that I can recommend ( https://github.com/amaiorano/hsm ), but there's probably other good ones out there.
roost-hsm
Posts with mentions or reviews of roost-hsm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-09.
-
Ask HN: Show me your Half Baked project
https://github.com/ragnot/roost-hsm
I wanted a C++ hierarchical state machine library didn't require massive compile times like boost msm.