public abstract class SubconsciousThought extends BasicThought
Constructor and Description |
---|
SubconsciousThought() |
Modifier and Type | Method and Description |
---|---|
void |
awake()
Add a listener to the memory to be notified when new active memory.
|
java.util.Queue<Vertex> |
getActiveMemoryBackLog() |
boolean |
isConscious()
Thoughts can be conscious or sub-conscious.
|
boolean |
isConsciousProcessingRequired()
Determine if the thought should first wait for conscious thoughts to process the input.
|
abstract boolean |
processInput(Vertex vertex,
Network network)
Process the active memory in the isolated memory in the background.
|
void |
setActiveMemoryBackLog(java.util.Queue<Vertex> activeMemoryBackLog) |
void |
stop()
Stop analysing network.
|
void |
think()
Analyze the active memory.
|
getBot, getName, getPrimitive, getShortTermMemory, initialize, isCritical, isEnabled, isStopped, log, log, migrateProperties, pool, saveProperties, setBot, setEnabled, setName, setStopped, toString
public boolean isConsciousProcessingRequired()
public void awake()
awake
in interface Thought
awake
in class BasicThought
public void stop()
BasicThought
stop
in interface Thought
stop
in class BasicThought
public void think()
think
in interface Thought
think
in class BasicThought
public abstract boolean processInput(Vertex vertex, Network network)
public boolean isConscious()
isConscious
in interface Thought
isConscious
in class BasicThought
public java.util.Queue<Vertex> getActiveMemoryBackLog()
public void setActiveMemoryBackLog(java.util.Queue<Vertex> activeMemoryBackLog)