Project

General

Profile

Actions

Bug #54

closed

Invalid time projection

Added by Anonymous almost 10 years ago. Updated almost 10 years ago.

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

planStreams.svg (1.54 KB) planStreams.svg Produced plan Anonymous, 2014-05-15 00:42
short-test.dom (795 Bytes) short-test.dom Domain description Anonymous, 2014-05-15 00:42
short-test.cost (148 Bytes) short-test.cost Cost functions Anonymous, 2014-05-15 00:43
Actions #1

Updated by Anonymous almost 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

Also available in: Atom PDF