Skip to content

FIFO: Event revision

Patrick Hammer edited this page Apr 21, 2019 · 7 revisions

While pushing a new event to the first position when a matched event enters a concept's FIFO, to resolve goal conflicts in respect to the current moment, in the goal event FIFO revision with the highest confident element when projected to the goal occurrence time has to happen, the result will then be pushed to the first FIFO position, whereby the position we took the highest confident element out from, will be emptied.

This allows to resolve goal conflicts like in the following OpenNARS example:

//some eternal knowledge of how to achieve the goal
<(&/,pick({SELF},1)) =/> <g --> G>>.
//suddenly some other reason (derived or input) why the action should not the taken
(&/,pick({SELF},1))! :|: %0.0%
//wanting to achieve the goal
<g --> G>! :|:

No execution is allowed to happen.

A detail: Only revise with the closest FIFO element if the evidental base does not overlap, and only if the revised element when projected to the occurrence-time middle between both elements is higher than the premises's.

Of course, the revision can also happen in the belief event FIFO, this make sure that two conflicting sensory signals

a. :|: %0.3%
a. :|: %0.7%

that happen concurrently, will be merged, allowing to deal with contradicting sensory information.

Note: The event does not get back into attention buffer when revision happens, but the revised result does.