edu.memphis.ccrg.lida.globalworkspace.triggers
Class TriggerTask
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.globalworkspace.triggers.TriggerTask
- All Implemented Interfaces:
- FullyInitializable, Initializable, Activatible, Learnable, FrameworkTask, java.io.Serializable, java.util.concurrent.Callable<FrameworkTask>
public class TriggerTask
- extends FrameworkTaskImpl
TriggerTask is executed when the Timer object goes off. In this case the
GlobalWorkspace
is told to trigger the broadcast
- Author:
- Javier
- 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, setAssociatedModule, setControllingTaskSpawner, setNextTicksPerRun, setScheduledTick, setTaskStatus, setTicksPerRun, stopRunning |
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.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 |
TriggerTask
public TriggerTask(int ticksPerRun,
TriggerListener gw,
java.lang.String name,
BroadcastTrigger trigger)
- Constructor for creating a TriggerTask
- Parameters:
ticksPerRun
- ticksPerRun of this FrameworkTask
gw
- Trigger listener which is the GlobalWorkspace
name
- Name of the triggertrigger
- BroadcastTrigger
which creates this task
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 FrameworkTaskImpl
toString
public java.lang.String toString()
- Overrides:
toString
in class FrameworkTaskImpl