edu.memphis.ccrg.lida.workspace.structurebuildingcodelets
Class BasicStructureBuildingCodelet
java.lang.Object
edu.memphis.ccrg.lida.framework.shared.activation.ActivatibleImpl
edu.memphis.ccrg.lida.framework.shared.activation.LearnableImpl
edu.memphis.ccrg.lida.framework.tasks.FrameworkTaskImpl
edu.memphis.ccrg.lida.framework.tasks.CodeletImpl
edu.memphis.ccrg.lida.workspace.structurebuildingcodelets.StructureBuildingCodeletImpl
edu.memphis.ccrg.lida.workspace.structurebuildingcodelets.BasicStructureBuildingCodelet
- All Implemented Interfaces:
- FullyInitializable, Initializable, Activatible, Learnable, Codelet, FrameworkTask, StructureBuildingCodelet, java.io.Serializable, java.util.concurrent.Callable<FrameworkTask>
public class BasicStructureBuildingCodelet
- extends StructureBuildingCodeletImpl
Default implementation of StructureBuildingCodelet
. Checks for sought content
in all accessible WorkspaceBuffer
s and adds all buffer content to the Current Situational Model.
- Author:
- Ryan J. McCall
- See Also:
- Serialized Form
Methods inherited from class edu.memphis.ccrg.lida.framework.tasks.FrameworkTaskImpl |
call, equals, getControllingTaskSpawner, getNextTicksPerRun, getParam, getScheduledTick, getTaskId, getTaskStatus, getTicksPerRun, hashCode, init, 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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 |
BasicStructureBuildingCodelet
public BasicStructureBuildingCodelet()
- Default constructor
runThisFrameworkTask
protected void runThisFrameworkTask()
- Description copied from class:
FrameworkTaskImpl
- To be overridden by extending classes. Overriding method should execute a
handful of statements considered to constitute a single iteration of the
task. For example, a codelet might look in a buffer for some
representation and make a change to it in a single iteration.
- Specified by:
runThisFrameworkTask
in class StructureBuildingCodeletImpl
retrieveWorkspaceContent
public NodeStructure retrieveWorkspaceContent(WorkspaceBuffer buffer)
- Description copied from interface:
Codelet
- Returns sought content and related content from specified
WorkspaceBuffer.
- Parameters:
buffer
- the buffer
- Returns:
- the workspace content
bufferContainsSoughtContent
public boolean bufferContainsSoughtContent(WorkspaceBuffer buffer)
- Description copied from interface:
Codelet
- Returns true if specified WorkspaceBuffer contains this codelet's sought
content.
- Parameters:
buffer
- the WorkspaceBuffer to be checked for content
- Returns:
- true, if successful