sleyzerzon / soar

Automatically exported from code.google.com/p/soar
1 stars 0 forks source link

item-count WMEs need better justifications #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The justifications for item-count WMEs that are now
present in all tie impasses are incomplete. This can be seen by elaborating
the item-count to the top-state as a result of a tie. The
justification of the result is too
general-- e.g., "if there is a top-state, there are 5
tied operators". This is because backtracing cannot trace through
the item-count WME.

I implemented a partial fix for this (that works for my agent), by adding a
fake preference that associates item-count to the presence of all of
the ^items, which are in turn associated to the proposed operators.
However, to be really correct, the conditions of the justification should
also include that no other operators are proposed. In addition, if chunking
is used, the chunks should encode that N and exactly N operators are
present, and that none are equal to any other.

I've attached a patch for my partial fix, but the rest probably also needs
to go in. Talking to Nate, it should be possible to make a fake preference
to encode that item-count is supported by the presence of all operators,
noneequal to any others, and no more.

Original issue reported on code.google.com by sam.wint...@gmail.com on 27 Oct 2009 at 1:43

Attachments: