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

Fail-fast processors #24

Open
sylvainhalle opened this issue Jul 28, 2016 · 0 comments
Open

Fail-fast processors #24

sylvainhalle opened this issue Jul 28, 2016 · 0 comments

Comments

@sylvainhalle
Copy link
Contributor

sylvainhalle commented Jul 28, 2016

Some processors (mainly of the ltl package) always return the same event once they reach some state. This is the case of:

  • All Boolean (not Troolean) processors once they reach a definite (true/false) value, including quantifiers
  • Any Moore machine that reaches a sink state

This fact should be detectable, to allow their instances to be cleaned up from memory (simply recalling their last value whenever needed). This would remove the need for an explicit cleanup function in the StateSlicer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant