edu.memphis.ccrg.lida.framework.tasks
Interface Codelet
- All Superinterfaces:
- Activatible, java.util.concurrent.Callable<FrameworkTask>, FrameworkTask, FullyInitializable, Initializable, Learnable
- All Known Subinterfaces:
- AttentionCodelet, StructureBuildingCodelet
- All Known Implementing Classes:
- AttentionCodeletImpl, BasicAttentionCodelet, BasicStructureBuildingCodelet, CodeletImpl, DefaultAttentionCodelet, NeighborhoodAttentionCodelet, StructureBuildingCodeletImpl
public interface Codelet
- extends FrameworkTask
A task that represents a demon-like processor.
- Author:
- Javier Snaider, Ryan J. McCall
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 |
getSoughtContent
NodeStructure getSoughtContent()
- Returns:
- the sought content
setSoughtContent
void setSoughtContent(NodeStructure content)
- Parameters:
content
- the content the codelet looks for.
bufferContainsSoughtContent
boolean bufferContainsSoughtContent(WorkspaceBuffer buffer)
- 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
NodeStructure retrieveWorkspaceContent(WorkspaceBuffer buffer)
- Returns sought content and related content from specified
WorkspaceBuffer.
- Parameters:
buffer
- the buffer
- Returns:
- the workspace content