agent

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
agent   inherits from configuration and blackboard  [Class]

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.

communicated-successfully   agent  [Generic function]

Returns and (with setf) changes the communicated-successfully of the specified agent

utterance   agent  [Generic function]

Returns and (with setf) changes the utterance of the specified agent

discourse-role   agent  [Generic function]

Returns and (with setf) changes the discourse-role of the specified agent

id   agent  [Generic function]

Returns the id of the specified agent

experiment   agent  [Generic function]

Returns and (with setf) changes the experiment of the specified agent

get-configuration   (agent agent) key &key &allow-other-keys  [Method]

get-configuration for a agent tries the experiment if no configuration is found in the agent

print-object   (agent agent) stream  [Method]