edu.memphis.ccrg.lida.attentioncodelets
Class BasicAttentionCodelet

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.initialization.InitializableImpl
      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
All Implemented Interfaces:
AttentionCodelet, FullyInitializable, Initializable, Activatible, Learnable, RefractoryPeriod, Codelet, FrameworkTask, java.util.concurrent.Callable<FrameworkTask>

Deprecated. This may be removed in the future. Its functionality is subsumed by NeighborhoodAttentionCodelet.

@Deprecated
public class BasicAttentionCodelet
extends AttentionCodeletImpl

Basic implementation of AttentionCodelet.

Author:
Ryan J. McCall

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
BasicAttentionCodelet()
          Deprecated.  
 
Method Summary
 boolean bufferContainsSoughtContent(WorkspaceBuffer buffer)
          Deprecated. Returns true if specified WorkspaceBuffer contains this codelet's sought content.
 void init()
          Deprecated. If this method is overridden, this init() must be called first! i.e.
 NodeStructure retrieveWorkspaceContent(WorkspaceBuffer buffer)
          Deprecated. Returns sought content and related content from specified WorkspaceBuffer.
 
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, cancel, equals, getControllingTaskSpawner, getNextTicksPerRun, getScheduledTick, getTaskId, getTaskStatus, getTicksPerRun, hashCode, 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 edu.memphis.ccrg.lida.framework.initialization.InitializableImpl
containsParameter, getParam, getParameters, init
 
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
cancel, 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
containsParameter, getParam, getParameters, init
 

Constructor Detail

BasicAttentionCodelet

public BasicAttentionCodelet()
Deprecated. 
Method Detail

init

public void init()
Deprecated. 
If this method is overridden, this init() must be called first! i.e. super.init(); Will set parameters with the following names:

nodes Labels of nodes that comprise this codelet's sought content

If any parameter is not specified its default value will be used.

Specified by:
init in interface Initializable
Overrides:
init in class AttentionCodeletImpl
See Also:
AttentionCodeletImpl.init()

bufferContainsSoughtContent

public boolean bufferContainsSoughtContent(WorkspaceBuffer buffer)
Deprecated. 
Returns true if specified WorkspaceBuffer contains this codelet's sought content.

Parameters:
buffer - the WorkspaceBuffer to be checked for content
Returns:
true, if successful

retrieveWorkspaceContent

public NodeStructure retrieveWorkspaceContent(WorkspaceBuffer buffer)
Deprecated. 
Returns sought content and related content from specified WorkspaceBuffer.

Parameters:
buffer - the buffer
Returns:
the workspace content