edu.memphis.ccrg.lida.actionselection
Interface ActionSelection

All Superinterfaces:
BroadcastListener, FrameworkModule, FullyInitializable, Initializable, ModuleListener
All Known Implementing Classes:
BasicActionSelection

public interface ActionSelection
extends FrameworkModule, BroadcastListener

Interface for the action selection module of LIDA.

Author:
Ryan J McCall

Method Summary
 void addActionSelectionListener(ActionSelectionListener listener)
          Those classes that should be receiving selected actions from Action Selection
 void addPreafferenceListener(PreafferenceListener listener)
           
 Action selectAction()
          Choose a single action among those activated and whose context are satisfied to execute
 
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
getParam, init, init
 
Methods inherited from interface edu.memphis.ccrg.lida.globalworkspace.BroadcastListener
learn, receiveBroadcast
 

Method Detail

addActionSelectionListener

void addActionSelectionListener(ActionSelectionListener listener)
Those classes that should be receiving selected actions from Action Selection

Parameters:
listener - listener of this action selection

addPreafferenceListener

void addPreafferenceListener(PreafferenceListener listener)
Parameters:
listener - preafference listeners of this action selection

selectAction

Action selectAction()
Choose a single action among those activated and whose context are satisfied to execute

Returns:
The selected Action or null if no action was selected.