org.pandora.api.thought
Interface Thought

All Known Implementing Classes:
BasicThought, Comprehension, Consciousness, Discovery, Forgetfulness, Inference, Language, SubconsciousThought

public interface Thought

Something that given a network of objects can perform some function.


Method Summary
 void awake()
          Perform any initialization required on startup.
 java.lang.String getName()
          Return the name that identifies the thought.
 Pandora getPandora()
          Return the associated Pandora instance.
 Primitive getPrimitive()
          Return the primitive representation of the thought.
 void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
          Initialize any configuration properties.
 boolean isConscious()
          Thoughts can be conscious or sub-conscious.
 void setName(java.lang.String name)
          Set the name that identifies the thought.
 void setPandora(Pandora pandora)
          Set the associated Pandora instance.
 void stop()
          Stop analyzing network.
 void think()
          Analyze and extend the network.
 

Method Detail

getName

java.lang.String getName()
Return the name that identifies the thought.


setName

void setName(java.lang.String name)
Set the name that identifies the thought.


stop

void stop()
Stop analyzing network.


think

void think()
Analyze and extend the network.


awake

void awake()
Perform any initialization required on startup.


getPrimitive

Primitive getPrimitive()
Return the primitive representation of the thought.


getPandora

Pandora getPandora()
Return the associated Pandora instance.


setPandora

void setPandora(Pandora pandora)
Set the associated Pandora instance.


initialize

void initialize(java.util.Map<java.lang.String,java.lang.Object> properties)
Initialize any configuration properties.


isConscious

boolean isConscious()
Thoughts can be conscious or sub-conscious. A conscious thought is run by the mind single threaded with exclusive access to the short term memory. A sub-conscious thought is run concurrently, and must run in its own memory space.