edu.memphis.ccrg.lida.globalworkspace
Interface BroadcastListener

All Superinterfaces:
ModuleListener
All Known Subinterfaces:
BroadcastQueue
All Known Implementing Classes:
AttentionCodeletModule, BasicActionSelection, BroadcastQueueImpl, EpisodicMemoryImpl, GlobalWorkspaceTablePanel, PerceptualAssociativeMemoryImpl, ProceduralMemoryImpl, WorkspaceImpl

public interface BroadcastListener
extends ModuleListener

Modules that receive the conscious broadcast must implement this interface. Implementers will receive each winning Coalition from the GlobalWorkspace.

Author:
Javier Snaider, Ryan J. McCall

Method Summary
 void learn(Coalition c)
          A place-holder method to remind implementing classes that they should implement learning.
 void receiveBroadcast(Coalition c)
          Listener must receive a broadcast of a the winning Coalition This method should return as possible in order to not delay the rest of the broadcasting.
 

Method Detail

receiveBroadcast

void receiveBroadcast(Coalition c)
Listener must receive a broadcast of a the winning Coalition This method should return as possible in order to not delay the rest of the broadcasting.

Parameters:
c - the Coalition that won the most recent competition for consciousness

learn

void learn(Coalition c)
A place-holder method to remind implementing classes that they should implement learning. LIDA theory says receivers of the broadcast should learn from it. This method will not be called directly by the GlobalWorkspace and thus it should be managed by the receiving module.

Parameters:
c - the Coalition that won the most recent competition for consciousness