Class summary | |
---|---|
agent | inherits from configuration and blackboard |
Method summary | |
---|---|
communicated-successfully | agent |
discourse-role | agent |
experiment | agent |
get-configuration | (agent agent) key &key &allow-other-keys |
id | agent |
print-object | (agent agent) stream |
utterance | agent |
Base class for all agents
:experiment | [Initarg] |
:id | [Initarg] |
:utterance | [Initarg] |
experiment | [Slot] |
The experiment this agent is part of
id | [Slot] |
The unique identifier of this agent.
discourse-role | [Slot] |
A symbol designating the role the agent plays in the game. e.g. unknown, speaker, hearer. You have to set this slot yourself in method determine-interacting-agents.
utterance | [Slot] |
The utterance that either a speaker produced or a hearer received. You have to set this slot yourself.
communicated-successfully | [Slot] |
Whether the agent experienced success.
Returns and (with setf) changes the communicated-successfully of the specified agent
Returns and (with setf) changes the utterance of the specified agent
Returns and (with setf) changes the discourse-role of the specified agent
get-configuration for a agent tries the experiment if no configuration is found in the agent