edu.memphis.ccrg.lida.attentioncodelets
Class NeighborhoodAttentionCodelet

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.shared.activation.ActivatibleImpl
      extended by edu.memphis.ccrg.lida.framework.shared.activation.LearnableImpl
          extended by edu.memphis.ccrg.lida.framework.tasks.FrameworkTaskImpl
              extended by edu.memphis.ccrg.lida.framework.tasks.CodeletImpl
                  extended by edu.memphis.ccrg.lida.attentioncodelets.AttentionCodeletImpl
                      extended by edu.memphis.ccrg.lida.attentioncodelets.BasicAttentionCodelet
                          extended by edu.memphis.ccrg.lida.attentioncodelets.NeighborhoodAttentionCodelet
All Implemented Interfaces:
AttentionCodelet, FullyInitializable, Initializable, Activatible, Learnable, RefractoryPeriod, Codelet, FrameworkTask, java.io.Serializable, java.util.concurrent.Callable<FrameworkTask>

public class NeighborhoodAttentionCodelet
extends BasicAttentionCodelet

Creates Coalitions if the nodes specified in the 'nodes' parameter are present. The resulting Coalition includes these nodes and their neighbors.

Author:
Javier Snaider, Ryan McCall
See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.memphis.ccrg.lida.attentioncodelets.AttentionCodeletImpl
currentSituationalModel, globalWorkspace
 
Fields inherited from class edu.memphis.ccrg.lida.framework.tasks.CodeletImpl
soughtContent
 
Fields inherited from class edu.memphis.ccrg.lida.framework.tasks.FrameworkTaskImpl
status
 
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Learnable
DEFAULT_BASE_LEVEL_ACTIVATION, DEFAULT_LEARNABLE_REMOVAL_THRESHOLD
 
Fields inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible
DEFAULT_ACTIVATIBLE_REMOVAL_THRESHOLD, DEFAULT_ACTIVATION
 
Constructor Summary
NeighborhoodAttentionCodelet()
           
 
Method Summary
 NodeStructure retrieveWorkspaceContent(WorkspaceBuffer buffer)
          Returns sought content and related content from specified WorkspaceBuffer.
 
Methods inherited from class edu.memphis.ccrg.lida.attentioncodelets.BasicAttentionCodelet
bufferContainsSoughtContent, init
 
Methods inherited from class edu.memphis.ccrg.lida.attentioncodelets.AttentionCodeletImpl
getRefractoryPeriod, runThisFrameworkTask, setAssociatedModule, setRefractoryPeriod
 
Methods inherited from class edu.memphis.ccrg.lida.framework.tasks.CodeletImpl
getSoughtContent, setSoughtContent
 
Methods inherited from class edu.memphis.ccrg.lida.framework.tasks.FrameworkTaskImpl
call, equals, getControllingTaskSpawner, getNextTicksPerRun, getParam, getScheduledTick, getTaskId, getTaskStatus, getTicksPerRun, hashCode, init, setControllingTaskSpawner, setNextTicksPerRun, setScheduledTick, setTaskStatus, setTicksPerRun, stopRunning, toString
 
Methods inherited from class edu.memphis.ccrg.lida.framework.shared.activation.LearnableImpl
decay, decayBaseLevelActivation, getBaseLevelActivation, getBaseLevelDecayStrategy, getBaseLevelExciteStrategy, getLearnableRemovalThreshold, getTotalActivation, getTotalActivationStrategy, isRemovable, reinforceBaseLevelActivation, setBaseLevelActivation, setBaseLevelDecayStrategy, setBaseLevelExciteStrategy, setBaseLevelRemovalThreshold, setTotalActivationStrategy
 
Methods inherited from class edu.memphis.ccrg.lida.framework.shared.activation.ActivatibleImpl
excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.tasks.Codelet
getSoughtContent, setSoughtContent
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.tasks.FrameworkTask
getControllingTaskSpawner, getNextTicksPerRun, getScheduledTick, getTaskId, getTaskStatus, getTicksPerRun, setControllingTaskSpawner, setNextTicksPerRun, setScheduledTick, setTaskStatus, setTicksPerRun, stopRunning
 
Methods inherited from interface java.util.concurrent.Callable
call
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Learnable
decayBaseLevelActivation, getBaseLevelActivation, getBaseLevelDecayStrategy, getBaseLevelExciteStrategy, getLearnableRemovalThreshold, getTotalActivationStrategy, reinforceBaseLevelActivation, setBaseLevelActivation, setBaseLevelDecayStrategy, setBaseLevelExciteStrategy, setBaseLevelRemovalThreshold, setTotalActivationStrategy
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.shared.activation.Activatible
decay, excite, getActivatibleRemovalThreshold, getActivation, getDecayStrategy, getExciteStrategy, getTotalActivation, isRemovable, setActivatibleRemovalThreshold, setActivation, setDecayStrategy, setExciteStrategy
 
Methods inherited from interface edu.memphis.ccrg.lida.framework.initialization.Initializable
getParam, init
 

Constructor Detail

NeighborhoodAttentionCodelet

public NeighborhoodAttentionCodelet()
Method Detail

retrieveWorkspaceContent

public NodeStructure retrieveWorkspaceContent(WorkspaceBuffer buffer)
Description copied from class: BasicAttentionCodelet
Returns sought content and related content from specified WorkspaceBuffer.

Specified by:
retrieveWorkspaceContent in interface Codelet
Overrides:
retrieveWorkspaceContent in class BasicAttentionCodelet
Parameters:
buffer - the buffer
Returns:
the workspace content