edu.memphis.ccrg.lida.environment
Class EnvironmentImpl

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.initialization.InitializableImpl
      extended by edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
          extended by edu.memphis.ccrg.lida.environment.EnvironmentImpl
All Implemented Interfaces:
Environment, FrameworkModule, FullyInitializable, Initializable

public abstract class EnvironmentImpl
extends FrameworkModuleImpl
implements Environment

Abstract implementation of Environment Environments should not be a listener of anything besides GUIs. Rather, SensoryMemory and SensoryMotorMemory should add environments as associated modules in the XML configuration file.

Author:
Ryan J. McCall

Field Summary
 
Fields inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
taskSpawner
 
Constructor Summary
EnvironmentImpl()
          Default constructor will be invoked by AgentXmlFactory to create this FrameworkModule
 
Method Summary
 void decayModule(long ticks)
          override to implement Environment's decay.
 
Methods inherited from class edu.memphis.ccrg.lida.framework.FrameworkModuleImpl
addListener, addSubModule, containsSubmodule, containsSubmodule, getAssistingTaskSpawner, getModuleContent, getModuleName, getSubmodule, getSubmodule, getSubmodules, setAssistingTaskSpawner, setAssociatedModule, setModuleName, taskManagerDecayModule, toString
 
Methods inherited from class edu.memphis.ccrg.lida.framework.initialization.InitializableImpl
containsParameter, getParam, getParameters, init, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.memphis.ccrg.lida.environment.Environment
getState, processAction, resetState
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.FrameworkModule
addListener, addSubModule, containsSubmodule, containsSubmodule, 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
 

Constructor Detail

EnvironmentImpl

public EnvironmentImpl()
Default constructor will be invoked by AgentXmlFactory to create this FrameworkModule

Method Detail

decayModule

public void decayModule(long ticks)
override to implement Environment's decay.

Specified by:
decayModule in interface FrameworkModule
Parameters:
ticks - number of ticks to decay.
See Also:
FrameworkModule.decayModule(long)