public abstract class Perception extends Codelet
Constructor and Description |
---|
Perception(WorkingStorage localWS)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addOutput(Memory output)
This method adds an output memory in the output list.
|
void |
pushDetectedPercept(Memory pe)
This method pushes a memory object representing a percept detected in the world into a list, so this perception codelet knows what is true.
|
void |
removesOutput(Memory output)
This method removes an output memory in the output list.
|
void |
uptadeOutputWithPercepts()
This method makes sure all detected percepts are kept in this codelet's output list.
|
accessMemoryObjects, addBroadcast, addBroadcasts, addInput, addInputs, addOutputs, calculateActivation, getActivation, getBroadcast, getBroadcast, getBroadcast, getEnabled, getInput, getInput, getInputs, getInputsOfType, getName, getOutput, getOutput, getOutputs, getOutputsOfType, getThreadName, getThreshold, getTimeStep, impendingAccess, impendingAccessBuffer, isLoop, isProfiling, notifyCodelet, proc, removeFromInput, removeFromOutput, removesInput, run, setActivation, setBroadcast, setCodeletProfiler, setEnabled, setInputs, setIsMemoryObserver, setLoop, setName, setOutputs, setProfiling, setThreshold, setTimeStep, shouldLoop, start, stop, toString
public Perception(WorkingStorage localWS)
localWS
- public void pushDetectedPercept(Memory pe)
pe
- public void uptadeOutputWithPercepts()
public void addOutput(Memory output)
public void removesOutput(Memory output)
removesOutput
in class Codelet
output
-