edu.memphis.ccrg.lida.environment
Interface Environment

All Superinterfaces:
FrameworkModule, FullyInitializable, Initializable
All Known Implementing Classes:
EnvironmentImpl

public interface Environment
extends FrameworkModule

Specification for domains that the framework can use as an environment. Generally speaking environments can be sensed and can receive actions.

Author:
Ryan J. McCall

Method Summary
 java.lang.Object getState(java.util.Map<java.lang.String,?> params)
          Returns the environment's state
 void processAction(java.lang.Object action)
          Process the specified action updating the environment's state accordingly.
 void resetState()
          Resets the state of the environment
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.FrameworkModule
addListener, addSubModule, containsSubmodule, containsSubmodule, decayModule, getAssistingTaskSpawner, getModuleContent, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setModuleName, taskManagerDecayModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.FullyInitializable
setAssociatedModule
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
containsParameter, getParam, getParameters, init, init
 

Method Detail

resetState

void resetState()
Resets the state of the environment


processAction

void processAction(java.lang.Object action)
Process the specified action updating the environment's state accordingly.

Parameters:
action - an algorithm to be processed by the environment

getState

java.lang.Object getState(java.util.Map<java.lang.String,?> params)
Returns the environment's state

Parameters:
params - Map of optional parameters specifying the aspect of the state which will be returned
Returns:
some part of the environment's state depending on the parameters