edu.ucla.belief.io
Interface StandardNode

All Superinterfaces:
Cloneable, Comparable, FiniteVariable, PropertySuperintendent, Variable
All Known Subinterfaces:
DSLNode, HuginNode
All Known Implementing Classes:
DSLNodeImpl, HuginNodeImpl, StandardNodeImpl, XmlbifParser.BifNode

public interface StandardNode
extends FiniteVariable, PropertySuperintendent

A class for encapsulating a hugin node description.


Field Summary
 
Fields inherited from interface PropertySuperintendent
KEY_APPROXIMATED_PARENTS, KEY_EXCLUDEARRAY, KEY_EXCLUDEPOLICY, KEY_HUGIN_ID, KEY_HUGIN_LABEL, KEY_HUGIN_NAME, KEY_HUGIN_NODE_SIZE, KEY_HUGIN_POSITION, KEY_HUGIN_potential, KEY_HUGIN_potential_data, KEY_HUGIN_STATES, KEY_HUGIN_SUBTYPE, KEY_HUGINITY, KEY_IDS_RECOVERABLE_PARENTS, KEY_ISMAPVARIABLE, KEY_RECOVERABLES, KEY_SEENDEFAULTEVIDENCE, KEY_SOFT_EVIDENCE_CHILDREN, KEY_USERPROPERTIES, VALUE_PERMISSIVE, VALUE_STRICT, VALUE_TRUE
 
Method Summary
 Integer getDefaultStateIndex()
          originally in DSLNode
 DiagnosisType getDiagnosisType()
          originally in DSLNode
 Dimension getDimension(Dimension d)
          Will return the node size listed in the HuginNet file.
 boolean[] getExcludeArray()
           
 ExcludePolicy getExcludePolicy()
           
 String getLabel()
          Will get the label from a HuginNode.
 Point getLocation(Point ret)
          Will get the location from a HuginNode.
 boolean isMAPVariable()
          Moved from HuginNode @since 062204
 void setDiagnosisType(DiagnosisType newVal)
          originally in DSLNode
 void setDimension(Dimension d)
           
 void setExcludeArray(boolean[] xa)
           
 void setExcludePolicy(ExcludePolicy ep)
           
 void setLabel(String newVal)
           
 void setLocation(Point newLoc)
           
 void setMAPVariable(boolean flag)
           
 
Methods inherited from interface FiniteVariable
contains, getCPTShell, getCPTShell, getDSLNodeType, grep, grep, grep, index, insert, instance, instance, instances, remove, set, setCPTShell, setCPTShell, setDSLNodeType, size
 
Methods inherited from interface Variable
clone, delete, getEnumProperties, getID, getProperty, getUserObject, setID, setProperty, setUserObject
 
Methods inherited from interface Comparable
compareTo
 
Methods inherited from interface PropertySuperintendent
getProperties
 

Method Detail

isMAPVariable

boolean isMAPVariable()
Moved from HuginNode @since 062204


setMAPVariable

void setMAPVariable(boolean flag)

getExcludeArray

boolean[] getExcludeArray()
Since:
051002

setExcludeArray

void setExcludeArray(boolean[] xa)
Since:
051002

getExcludePolicy

ExcludePolicy getExcludePolicy()

setExcludePolicy

void setExcludePolicy(ExcludePolicy ep)

getDimension

Dimension getDimension(Dimension d)
Will return the node size listed in the HuginNet file. If it does not exist, it will return a null. This function looks for a node size from the actual node, not from the network.


setDimension

void setDimension(Dimension d)

getLocation

Point getLocation(Point ret)
Will get the location from a HuginNode. If the location does not exist, it will display a message on the System.err screen and set the location to (0,0).


setLocation

void setLocation(Point newLoc)

getLabel

String getLabel()
Will get the label from a HuginNode. Can possibly return null if one is not present. Will not return empty string, will return null in its place.


setLabel

void setLabel(String newVal)

getDiagnosisType

DiagnosisType getDiagnosisType()
originally in DSLNode


setDiagnosisType

void setDiagnosisType(DiagnosisType newVal)
originally in DSLNode


getDefaultStateIndex

Integer getDefaultStateIndex()
originally in DSLNode

Since:
041304


Copyright 2010 UCLA Automated Reasoning Group