-
Notifications
You must be signed in to change notification settings - Fork 5
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
#20 - Add assignment as getter function of reset map #22
Conversation
src/HybridSystems.jl
Outdated
|
||
Returns the assignment for the transition `t`. | ||
""" | ||
assignment(hs::HybridSystem, t) = hs.resetmaps[symbol(hs, t)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
guard
could use assignment
in his implementation
Codecov Report
@@ Coverage Diff @@
## master #22 +/- ##
==========================================
+ Coverage 81.13% 81.25% +0.11%
==========================================
Files 6 6
Lines 159 160 +1
==========================================
+ Hits 129 130 +1
Misses 30 30
Continue to review full report at Codecov.
|
I find this implementation misleading. In the standard terminology, the assignment is the part of the transition that is applied after taking the transition. In this package, |
That's a good point, what do you suggest ? |
I see what you mean; but the "problem" is that the maps are types, not functions. (we could otherwise let Consider here page 9 (which refers to Henzinger's), it calls it "jump relation" |
Yes, I would change the name. "Jump relation" could also be misunderstood as the transition relation. |
Just that? To let And how about |
Hm, thinking about this, I kind of disagree again. |
|
You wrote EDIT: I see now that you mean the change in #25. Then I agree again. |
Closes #20.