Content-Length: 195676 | pFad | http://github.com/marcosh/crem/issues/32

82 Multiple ways to model a Topology · Issue #32 · marcosh/crem · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple ways to model a Topology #32

Open
itsadrake opened this issue Jan 26, 2023 · 0 comments
Open

Multiple ways to model a Topology #32

itsadrake opened this issue Jan 26, 2023 · 0 comments

Comments

@itsadrake
Copy link
Collaborator

A BaseStateMachine currently uses a Topology that encodes its valid transitions in a list.

To aid in the construction of some state machines, we implicitly allow identity transitions (#13). However, we are unable to model state machines without identity transitions.

We have a helper function to aid in the construction of state machines where every possible transition is allowed (#26). However, this has problematic behaviour with large sets, e.g. Int or Integer.

Instead of having a single Topology type, we could have a GADT or typeclass with the following constructions:

  • strict topology, which only allows the specified transitions
  • open topology, which allows the specidied transitions ∪ identity transitions
  • full topology, which allows every possible transition
This was referenced Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/marcosh/crem/issues/32

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy