Class summary | |
---|---|
action-agent | inherits from agent |
Method summary | |
---|---|
act | agent world action |
consolidate-agent | agent world |
finalize-action | agent world action |
rerun | action-agent |
restart-object | (agent action-agent) (restart-data t) &key &allow-other-keys |
run-agent | agent world interaction experiment &key &allow-other-keys |
:rerun | [Initarg] |
rerun | [Slot] |
After an agent-level repair-strategy has been successfull it can fill this slot with data it wants to be available in the next run.
Is called for each of the interacting agents ath the end of an interaction. It is intended for commiting learned things or update scores of inventories.
Called from run-agent to act on some action and should return a new action or nil. Function might be called multiple times on the same action when agent repairs repaired something. Should return an action object.
Called from run-agent after nothing was repaired anymore with the last action computed in act
overloadable method for running an agent