4 ms·
Not OP but there are more than a few domains that can be modeled with automata, a shipping pipeline with approval steps is an example.
by Grimm1 6y ago
Not OP but there are more than a few domains that can be modeled with automata, a shipping pipeline with approval steps is an example.
- nitrogen 6y agoEcommerce order/payment/shipping status is a good example. Anything that has a well defined state that can be changed by events is well-modeled as a state machine of some kind. Also anything that has to progress through certain steps and might be interrupted or have exception cases, and you want to proceed/retry idempotently. Personally I have also found basic graph theory to be immensely useful for representing and reasoning about things.
- learc83 6y ago>Personally I have also found basic graph theory to be immensely useful for representing and reasoning about things. I agree! The graph theory portion of my algorithms class (more than half of the class) was the third most useful thing I learned in my degree.