org.simbrain.world
Interface Agent

All Known Implementing Classes:
DataWorld, OdorWorldAgent, VisionWorld

public interface Agent

Agent.


Method Summary
 void completedInputRound()
          Use when a full set of stimuli has been gathered, to initiate post-stimulus gathering activties.
 String getName()
          Return the name of this agent.
 World getParentWorld()
          Return the parent world for this agent.
 double getStimulus(String[] sensorId)
          Return the stimulus for this agent provided the specified sensor id.
 void setMotorCommand(String[] commandList, double value)
          Set the motor command for this agent to (some combination of?) commandList and value.
 

Method Detail

getName

String getName()
Return the name of this agent.

Returns:
the name of this agent

getParentWorld

World getParentWorld()
Return the parent world for this agent.

Returns:
the parent world for this agent

getStimulus

double getStimulus(String[] sensorId)
Return the stimulus for this agent provided the specified sensor id.

Parameters:
sensorId - sensor id
Returns:
the stimulus for this agent

completedInputRound

void completedInputRound()
Use when a full set of stimuli has been gathered, to initiate post-stimulus gathering activties.


setMotorCommand

void setMotorCommand(String[] commandList,
                     double value)
Set the motor command for this agent to (some combination of?) commandList and value.

Parameters:
commandList - command list
value - value