|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GlobalWorkspace
Interface for the Global Workspace module which contains Coalition objects and
implements a global conscious broadcast. It receives Coalition objects generated by AttentionCodelet objects
from Workspace. Different BroadcastTrigger tasks can be registered
dynamically. When a TriggerTask fires, all registered BroadcastListener modules
receive the content of the winning Coalition. Modules that receive the broadcast must
register themselves to this module and implement the BroadcastListener interface.
TriggerListener,
RefractoryPeriod| Method Summary | |
|---|---|
void |
addBroadcastListener(BroadcastListener bl)
Adds and registers a BroadcastListener. |
void |
addBroadcastTrigger(BroadcastTrigger t)
Adds and registers specified BroadcastTrigger |
boolean |
addCoalition(Coalition c)
Adds specified Coalition |
long |
getBroadcastSentCount()
Returns the number of broadcasts sent. |
DecayStrategy |
getCoalitionDecayStrategy()
Gets the DecayStrategy used by Coalition objects in this module |
double |
getCoalitionRemovalThreshold()
Gets coalition removal threshold |
long |
getTickAtLastBroadcast()
Gets the tick at last broadcast |
void |
setCoalitionDecayStrategy(DecayStrategy ds)
Sets the DecayStrategy used by Coalition objects in this module |
void |
setCoalitionRemovalThreshold(double t)
Sets coalition removal threshold |
| 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 |
| Methods inherited from interface edu.memphis.ccrg.lida.globalworkspace.triggers.TriggerListener |
|---|
triggerBroadcast |
| Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.RefractoryPeriod |
|---|
getRefractoryPeriod, setRefractoryPeriod |
| Method Detail |
|---|
boolean addCoalition(Coalition c)
Coalition
c - the Coalition to be added to the GlobalWorkspace
void addBroadcastTrigger(BroadcastTrigger t)
BroadcastTrigger
t - a BroadcastTrigger which can initiate a broadcastvoid addBroadcastListener(BroadcastListener bl)
BroadcastListener. Each registered
BroadcastListener receives each conscious broadcast.
bl - the BroadcastListener that will be registeredlong getBroadcastSentCount()
long getTickAtLastBroadcast()
void setCoalitionDecayStrategy(DecayStrategy ds)
DecayStrategy used by Coalition objects in this module
ds - the DecayStrategy used to decay coalition objectsDecayStrategy getCoalitionDecayStrategy()
DecayStrategy used by Coalition objects in this module
DecayStrategy by which coalitions will be decayed.void setCoalitionRemovalThreshold(double t)
t - lower bound of activation for a Coalition to remain in the moduledouble getCoalitionRemovalThreshold()
Coalition to remain in the module
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||