Actions
Bug #54
closedInvalid time projection
Status:
Rejected
Priority:
High
Assignee:
-
Target version:
-
Description
Some causal links are not kept during time projection.
See attached domain, and the result plan.
The answer given by HATP is:
{"HATP-REP": {"REQ-ID": 1, "REPORT": "OK", "NODES": [{"NODE": { "NODE-ID": 6, "NODE-TYPE": "metatask", "ACTION-NAME": "DoThings", "AGENTS": ["R1", "R2"], "START-TIME": 0, "END-TIME": 0, "PARAMETERS": [ "R1", "R2"]}}{"NODE": { "NODE-ID": 7, "NODE-TYPE": "action", "ACTION-NAME": "Thing", "AGENTS": ["R1"], "START-TIME": 0, "END-TIME": 8, "PARAMETERS": [ "R1"]}}{"NODE": { "NODE-ID": 8, "NODE-TYPE": "action", "ACTION-NAME": "Thing", "AGENTS": ["R2"], "START-TIME": 0, "END-TIME": 8, "PARAMETERS": [ "R2"]}}], "STREAMS": { "ROOTS": [7, 8], "LINKS": [] }, "TREE": { "ROOTS": [6], "LINKS": [{"LINK": { "TYPE": "causal", "FROM": 7, "TO": 8}}, {"LINK": { "TYPE": "hierarchical", "FROM": 6, "TO": 7}}, {"LINK": { "TYPE": "hierarchical", "FROM": 6, "TO": 8}}] } }}
We can see in this part that the causal link is present but is lost when streams are built:
{"LINK": { "TYPE": "causal", "FROM": 7, "TO": 8}}
Files
Updated by Anonymous over 10 years ago
- Status changed from New to Rejected
This is not a bug, it is related to the way streams are built.
The direct causal links are kept while those of higher level are lost. Then new links are created based on "resources". For instance if an action writes a variable and another reads it then a links is created. Yet there is a bug with this mechanism, please see Bug #57.
Actions