public class BehaviorsWTA extends Codelet
Constructor and Description |
---|
BehaviorsWTA(GlobalVariables globalVariables)
Iterate over all behaviors.
|
Modifier and Type | Method and Description |
---|---|
void |
accessMemoryObjects()
This method is used in every Codelet to capture input, broadcast and
output MemoryObjects which shall be used in the proc() method.
|
void |
addBehavior(Behavior be) |
void |
calculateActivation()
This abstract method must be implemented by the user.
|
void |
proc()
Main Codelet function, to be implemented in each subclass.
|
void |
removeBehavior(Behavior be) |
addBroadcast, addBroadcasts, addInput, addInputs, addOutput, addOutputs, getActivation, getBroadcast, getBroadcast, getBroadcast, getEnabled, getInput, getInput, getInputs, getInputsOfType, getName, getOutput, getOutput, getOutputs, getOutputsOfType, getThreadName, getThreshold, getTimeStep, impendingAccess, impendingAccessBuffer, isLoop, isProfiling, notifyCodelet, removeFromInput, removeFromOutput, removesInput, removesOutput, run, setActivation, setBroadcast, setCodeletProfiler, setEnabled, setInputs, setIsMemoryObserver, setLoop, setName, setOutputs, setProfiling, setThreshold, setTimeStep, shouldLoop, start, stop, toString
public BehaviorsWTA(GlobalVariables globalVariables)
public void accessMemoryObjects()
Codelet
accessMemoryObjects
in class Codelet
public void proc()
Codelet
public void addBehavior(Behavior be)
public void removeBehavior(Behavior be)
public void calculateActivation()
Codelet
calculateActivation
in class Codelet