de.jiac.micro.agent
Interface ISensor

All Superinterfaces:
IAgentElement

public interface ISensor
extends IAgentElement

The ISensor interface describes an agent element that connects the agent to some kind of environment. Data from the environment is processed in this sensor and delegated to the agents knowledge store.

As different devices have different capabilities with respect to communication, sensors should be used to hide these details. Define a generic data representation (= knowledge) and other agent elements may remain unchanged if the agent is deployed to another device. Only the configuration has to be fitted to reflect the devices capabilities.

Author:
Marcel Patzlaff, Erdene-Ochir Tuguldur
See Also:
IActuator, IShortTermMemory

Method Summary
 void setShortTermMemory(IShortTermMemory stm)
          This method is called only once after instantiation of this sensor.
 

Method Detail

setShortTermMemory

void setShortTermMemory(IShortTermMemory stm)
This method is called only once after instantiation of this sensor.

If this sensor also implements ILifecycleAware then this method is called before calling ILifecycleAware.initialise().

Parameters:
stm - the short term knowledge store


Copyright © 2008-2011 DAI-Labor. All Rights Reserved.