-
Notifications
You must be signed in to change notification settings - Fork 42
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
Provide a more user-friendly format for traces (follow up from #658) #663
Comments
Since this is talking about changing the format, I'll post this related discussion from some years ago: #599 |
#599 is quite an orthogonal issue. |
For a rule like: That sounds like it would remove the need to use the idiom I'm using (i.e. active_site, explicit bond, and infinite rate usage here). That would streamline work similar to mine, because the "publication model" does not use that idiom, but the model fit for trace analysis does. |
Yes, it is just the primal way a rule application arises in the simulation.
I am quite surprise that you cannot get the id of CK() in the tests of the event. |
@hmedina Jérôme is correct that the trace indicates the identity of all agents that are modified or tested by any rule application and an agent being mentioned in a rule means at the very least that a presence test happening. However, it is true that KaTie currently cannot match an event pattern such as
Thinking about it, I think the first semantics really is more useful and consistent and so I think there is a strong case to be made for allowing agent identity to be determined by tests in KaTie (and presence tests in particular). Any thoughts? |
@jonathan-laurent I do not get your point about the ambiguity of the semantics. . The activity of your rule is k * |A()| * |B(s{one/two})|. Could you clarify which semantics (trace distribution, trace replaying interpretation) are you referring two ? and what are the two propositions ? |
@feret My point was purely about KaTie's trace pattern semantics so this was probably not the right place for this conversation anyway. I do understand that |
It would be better to use a format closer to simple operational semantics.
Action should correspond to self-content atomic transformation of graphs + side-effects.
(In particular, it requires an action for each bond that is removed explicitly in the rule, even if it occurs in an agent that is degraded).
In case of id conflict, doing
bond removal
agent degradation
agent creation (with all site implicitly free and internal state to the first value)
binding and internal state modification.
Seems to be the most appropriate to me and is consistent with the description of the operational semantics in the literature.
The main advantage, is that each action can be interpreted independently (the result of each action is a valid state).
The text was updated successfully, but these errors were encountered: