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

Model simplifications #61

Open
5 tasks
magoorden opened this issue Aug 5, 2022 · 0 comments
Open
5 tasks

Model simplifications #61

magoorden opened this issue Aug 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@magoorden
Copy link
Contributor

In this issue we can collect possible model simplifications in order to reduce the size of the generated model. Whether to apply these simplifications should be an option (with default on). If one wants to see the result exactly replicating the transitions from the theoretical definitions, one should be able to turn these simplifications off.

  • Remove transitions labeled with a false guard.
  • Remove the printing of true of a true guard.
  • If there are two edge $(l_1, a, g_1, c, l_2)$ and $(l_1, a, g_2, c, l_2)$ (observe that they have the same source state, target state, action, and clock reset), then merge them into a single edge $(l_1, a, g_1 \vee g_2, c, l_2)$.
  • Remove unnecessary diagonal constraints, see Remove unnecessary diagonal constraints during guard printing #51.
  • Remove the printing of true as an invariant.

Feel free to mention more simplifications if you can think of one.

@Brandhoej Brandhoej added the enhancement New feature or request label Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants