|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.elf.ELFObject | +--org.opencyc.elf.Node
Provides the Node container for the Elementary Loop Functioning (ELF).
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENCYC ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Field Summary | |
protected BehaviorGeneration |
behaviorGeneration
the BehaviorGeneration for this node |
protected java.util.ArrayList |
childNodes
The Child nodes of this node for the task at hand. |
protected static java.util.HashMap |
nodes
the dictionary of nodes by name name --> Node |
protected Node |
parentNode
The parent node of this node for the task at hand. |
protected java.lang.String |
purpose
the purpose description |
protected org.opencyc.elf.sp.SensoryPerception |
sensoryPerception
the SensoryPerception |
protected java.util.ArrayList |
siblingNodes
the list of sibling nodes at this ELF resolution level |
protected org.opencyc.elf.vj.ValueJudgement |
valueJudgement
the ValueJudgement for this node |
protected WorldModel |
worldModel
the World Model for this node |
Fields inherited from class org.opencyc.elf.ELFObject |
name |
Constructor Summary | |
Node()
Constructs a new Node object. |
Method Summary | |
BehaviorGeneration |
getBehaviorGeneration()
Gets the BehaviorGeneration for this node |
java.util.ArrayList |
getChildNodes()
Gets the Child nodes of this node for the task at hand |
java.lang.String |
getName()
Gets the unique name of this node |
java.util.HashMap |
getNodes()
Gets the dictionary of nodes by name |
Node |
getParentNode()
Gets the parent node of this node for the task at hand |
java.lang.String |
getPurpose()
Gets the purpose description |
org.opencyc.elf.sp.SensoryPerception |
getSensoryPerception()
Gets the SensoryPerception |
java.util.ArrayList |
getSiblingNodes()
Gets the list of sibling nodes at this ELF resolution level |
org.opencyc.elf.vj.ValueJudgement |
getValueJudgement()
Gets the ValueJudgement for this node |
WorldModel |
getWorldModel()
Gets the World Model for this node |
void |
setBehaviorGeneration(BehaviorGeneration behaviorGeneration)
Sets the BehaviorGeneration for this node |
void |
setChildNodes(java.util.ArrayList childNodes)
Sets the Child nodes of this node for the task at hand |
void |
setName(java.lang.String name)
Sets the unique name of this node |
void |
setNodes(java.util.HashMap nodes)
Sets the dictionary of nodes by name |
void |
setParentNode(Node parentNode)
Sets the parent node of this node for the task at hand |
void |
setPurpose(java.lang.String purpose)
Sets the purpose description |
void |
setSensoryPerception(org.opencyc.elf.sp.SensoryPerception sensoryPerception)
Sets the SensoryPerception |
void |
setSiblingNodes(java.util.ArrayList siblingNodes)
Sets the list of sibling nodes at this ELF resolution level |
void |
setValueJudgement(org.opencyc.elf.vj.ValueJudgement valueJudgement)
Sets the ValueJudgement for this node |
void |
setWorldModel(WorldModel worldModel)
Sets the World Model for this node |
java.lang.String |
toString()
Returns a string representation of this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected static java.util.HashMap nodes
protected java.lang.String purpose
protected WorldModel worldModel
protected org.opencyc.elf.vj.ValueJudgement valueJudgement
protected BehaviorGeneration behaviorGeneration
protected org.opencyc.elf.sp.SensoryPerception sensoryPerception
protected Node parentNode
protected java.util.ArrayList childNodes
protected java.util.ArrayList siblingNodes
Constructor Detail |
public Node()
Method Detail |
public java.lang.String toString()
toString
in class ELFObject
public java.util.HashMap getNodes()
public void setNodes(java.util.HashMap nodes)
nodes
- the dictionary of nodes by namepublic java.lang.String getName()
getName
in class ELFObject
public void setName(java.lang.String name)
setName
in class ELFObject
name
- the unique name of this nodepublic java.lang.String getPurpose()
public void setPurpose(java.lang.String purpose)
purpose
- the purpose descriptionpublic WorldModel getWorldModel()
public void setWorldModel(WorldModel worldModel)
worldModel
- the World Model for this nodepublic org.opencyc.elf.vj.ValueJudgement getValueJudgement()
public void setValueJudgement(org.opencyc.elf.vj.ValueJudgement valueJudgement)
valueJudgement
- the ValueJudgement for this nodepublic BehaviorGeneration getBehaviorGeneration()
public void setBehaviorGeneration(BehaviorGeneration behaviorGeneration)
behaviorGeneration
- the BehaviorGeneration for this nodepublic org.opencyc.elf.sp.SensoryPerception getSensoryPerception()
public void setSensoryPerception(org.opencyc.elf.sp.SensoryPerception sensoryPerception)
sensoryPerception
- the SensoryPerceptionpublic Node getParentNode()
public void setParentNode(Node parentNode)
parentNode
- the parent node of this node for the task at handpublic java.util.ArrayList getChildNodes()
public void setChildNodes(java.util.ArrayList childNodes)
childNodes
- the Child nodes of this node for the task at handpublic java.util.ArrayList getSiblingNodes()
public void setSiblingNodes(java.util.ArrayList siblingNodes)
siblingNodes
- the list of sibling nodes at this ELF resolution level
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |