edu.memphis.ccrg.lida.proceduralmemory
Interface ProceduralMemory

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

public interface ProceduralMemory
extends FrameworkModule

FrameworkModule containing Schemes activated by each conscious broadcast. Activated schemes are instantiated, becoming Behaviors which are sent to ActionSelection

Author:
Ryan J. McCall

Method Summary
 void activateSchemes(NodeStructure broadcastContent)
          Using the Broadcast content, activate the relevant schemes of procedural memory
 void addScheme(Scheme s)
          Adds specified scheme to this ProceduralMemory.
 void addSchemes(java.util.Collection<Scheme> schemes)
          Adds specified schemes to this procedural memory.
 boolean containsScheme(Scheme s)
          Returns whether this procedural memory contains specified scheme.
 void createInstantiation(Scheme s)
          Instantiates specified scheme.
 SchemeActivationStrategy getSchemeActivationStrategy()
          Returns the SchemeActivationStrategy.
 int getSchemeCount()
          Returns a count of the schemes
 void removeScheme(Scheme s)
          Removes specified Scheme.
 void setSchemeActivationStrategy(SchemeActivationStrategy strategy)
          Sets the SchemeActivationStrategy
 
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
 

Method Detail

addScheme

void addScheme(Scheme s)
Adds specified scheme to this ProceduralMemory.

Parameters:
s - Scheme

addSchemes

void addSchemes(java.util.Collection<Scheme> schemes)
Adds specified schemes to this procedural memory.

Parameters:
schemes - set of Schemes

containsScheme

boolean containsScheme(Scheme s)
Returns whether this procedural memory contains specified scheme.

Parameters:
s - a Scheme
Returns:
true if it contains an equal scheme

removeScheme

void removeScheme(Scheme s)
Removes specified Scheme.

Parameters:
s - scheme to be removed.

getSchemeCount

int getSchemeCount()
Returns a count of the schemes

Returns:
number of schemes currently in this procedural memory.

setSchemeActivationStrategy

void setSchemeActivationStrategy(SchemeActivationStrategy strategy)
Sets the SchemeActivationStrategy

Parameters:
strategy - how schemes will be activated based on the broadcast.

getSchemeActivationStrategy

SchemeActivationStrategy getSchemeActivationStrategy()
Returns the SchemeActivationStrategy.

Returns:
SchemeActivationStrategy used to activate Schemes

activateSchemes

void activateSchemes(NodeStructure broadcastContent)
Using the Broadcast content, activate the relevant schemes of procedural memory

Parameters:
broadcastContent - conscious contents

createInstantiation

void createInstantiation(Scheme s)
Instantiates specified scheme.

Parameters:
s - a scheme over threshold