edu.memphis.ccrg.lida.framework.tasks
Class MockFrameworkTask

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.MockFrameworkTask
All Implemented Interfaces:
FullyInitializable, Initializable, Activatible, Learnable, FrameworkTask, java.io.Serializable, java.util.concurrent.Callable<FrameworkTask>

public class MockFrameworkTask
extends FrameworkTaskImpl

See Also:
Serialized Form

Field Summary
 FrameworkModule associatedModule
           
 java.lang.String moduleUsage
           
 boolean wasRun
           
 
Fields inherited from class edu.memphis.ccrg.lida.framework.tasks.FrameworkTaskImpl
status, taskName
 
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
MockFrameworkTask()
           
MockFrameworkTask(int i)
           
MockFrameworkTask(int i, TaskSpawner taskSpawner)
           
 
Method Summary
protected  void runThisFrameworkTask()
          To be overridden by extending classes.
 void setAssociatedModule(FrameworkModule module, java.lang.String moduleUsage)
          Subclasses may override this method.
 java.lang.String toString()
           
 
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
 
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.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
 

Field Detail

wasRun

public boolean wasRun

associatedModule

public FrameworkModule associatedModule

moduleUsage

public java.lang.String moduleUsage
Constructor Detail

MockFrameworkTask

public MockFrameworkTask(int i,
                         TaskSpawner taskSpawner)

MockFrameworkTask

public MockFrameworkTask(int i)

MockFrameworkTask

public MockFrameworkTask()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class FrameworkTaskImpl

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

setAssociatedModule

public void setAssociatedModule(FrameworkModule module,
                                java.lang.String moduleUsage)
Description copied from class: FrameworkTaskImpl
Subclasses may override this method.

Specified by:
setAssociatedModule in interface FullyInitializable
Overrides:
setAssociatedModule in class FrameworkTaskImpl
Parameters:
module - the module to be associated.
moduleUsage - how module will be used @see ModuleUsage