-
Notifications
You must be signed in to change notification settings - Fork 1
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
[Feature] Get/Supply primitives #31
Comments
* Classes, parsers, some tests * get/sply from/to predicate TODO: * Support get/sply from/to single agent * Translation into NuXmv * Interpreter support
* Add getTransitions, supplyTransitions attributes to Agent * GraphViz support
Sorry but I don't recall, are we allowing the
(I guess we are?) EDIT: yes, we are. |
* Extract a common interface for interpreter transitions * Add Agent.getTransitions, agent.supplyTransitions & accessor methods * Implement get/supply semantics in the interpreter
A question for @shaunazzopardi: should we add But I no longer think there is a need to always determine which transition pair fired, as long as it is compatible with the destination state and with the LTOL observation (which I will encode soon, hopefully). Speaking of which, why exactly are they needed for send/receive in the first place? I guess because we must make receives mutually exclusive, but with supply/get we already ensure that each agent performs exactly one supply/get when we enumerate over the pairs. Or am I missing something? |
After today's meeting:
|
Closing this. The |
Opening this issue to dump information related to implementing get/supply
Syntax (tentative)
Get from a specific agent instance, named
foo
Get from any agent satisfying
TRUE
:Supply message
MSG
only to agents whoget
from my own agent name:Supply
MSG
to agents satisfyingTRUE
:Notes
get
,sply
,self
are new keywords and they should be reservedThe text was updated successfully, but these errors were encountered: