|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProceduralMemory
FrameworkModule containing Schemes activated by each conscious broadcast.
Activated schemes are instantiated, becoming Behaviors which are sent to
ActionSelection
| Method Summary | |
|---|---|
void |
activateSchemes()
Using the broadcast, activate the relevant schemes of ProceduralMemory |
boolean |
containsScheme(Scheme s)
Returns whether this procedural memory contains specified scheme. |
Behavior |
createInstantiation(Scheme s)
Instantiates specified Scheme . |
Scheme |
getNewScheme(Action a)
Gets a new Scheme having specified Action. |
int |
getSchemeCount()
Returns a count of the schemes |
java.util.Collection<Scheme> |
getSchemes()
Returns a view of all Scheme objects currently in the ProceduralMemory. |
void |
removeScheme(Scheme s)
Removes specified Scheme. |
boolean |
shouldInstantiate(Scheme s,
NodeStructure broadcastBuffer)
A call-back method to determine if the Scheme s should be instantiated. |
| 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 |
|---|
Scheme getNewScheme(Action a)
Scheme having specified Action.
a - an Action
Scheme with Action aboolean containsScheme(Scheme s)
s - a Scheme
void removeScheme(Scheme s)
Scheme.
s - scheme to be removed.java.util.Collection<Scheme> getSchemes()
Scheme objects currently in the ProceduralMemory.
Collection of schemesint getSchemeCount()
void activateSchemes()
ProceduralMemory
boolean shouldInstantiate(Scheme s,
NodeStructure broadcastBuffer)
Scheme s should be instantiated.
This method can be overidden by subclasses to provide custom functionality.
s - the Scheme to be checkedbroadcastBuffer - the NodeStructure in ProceduralMemory containing recent broadcast
Scheme should be instantiated, false otherwise.Behavior createInstantiation(Scheme s)
Scheme .
s - a Scheme over instantiation threshold
Behavior, an instantiation of Scheme s
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||