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, toStringpublic boolean isConsciousProcessingRequired()
public void awake()
awake in interface Thoughtawake in class BasicThoughtpublic void stop()
BasicThoughtstop in interface Thoughtstop in class BasicThoughtpublic void think()
think in interface Thoughtthink in class BasicThoughtpublic abstract boolean processInput(Vertex vertex, Network network)
public boolean isConscious()
isConscious in interface ThoughtisConscious in class BasicThoughtpublic java.util.Queue<Vertex> getActiveMemoryBackLog()
public void setActiveMemoryBackLog(java.util.Queue<Vertex> activeMemoryBackLog)