COM.hugin.HAPI
Class DiscreteDecisionNode

java.lang.Object
  extended byCOM.hugin.HAPI.Node
      extended byCOM.hugin.HAPI.DiscreteNode
          extended byCOM.hugin.HAPI.DiscreteDecisionNode
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
BooleanDDNode, IntervalDDNode, LabelledDDNode, NumberedDDNode

public abstract class DiscreteDecisionNode
extends DiscreteNode

The DiscreteDecisionNode class. Base class for all decision nodes.


Method Summary
 NetworkModel.Category getCategory()
          Returns the Category of this node.
 NodeList getRequisiteAncestors()
          Returns a NodeList containing the requisite ancestors of this decision node.
 NodeList getRequisiteParents()
          Returns a NodeList containing the requisite parents of this decision node.
 
Methods inherited from class COM.hugin.HAPI.DiscreteNode
caseIsSet, computeExplanationData, computeExplanationData, enterFinding, generateTable, getBelief, getCaseState, getEnteredFinding, getEntropy, getExpectedUtility, getKind, getMutualInformation, getNumberOfStates, getPredictedBelief, getPropagatedFinding, getSampledState, getSensitivityConstants, getSensitivityConstants, getStateIndex, getStateLabel, retractFindings, selectState, setCaseState, setNumberOfStates, setStateLabel, unsetCase
 
Methods inherited from class COM.hugin.HAPI.Node
addParent, addToInputs, addToOutputs, clone, createTemporalClone, delete, evidenceIsEntered, evidenceIsPropagated, evidenceToPropagate, getAttribute, getAttributes, getChildren, getEdgeConstraint, getHome, getHomeClass, getHomeDomain, getInstance, getJunctionTree, getLabel, getMaster, getModel, getName, getParents, getPosition, getSource, getTable, getTemporalClone, getTemporalMaster, getUserData, isAlive, likelihoodIsEntered, likelihoodIsPropagated, removeFromInputs, removeFromOutputs, removeParent, reverseEdge, setAttribute, setAttributes, setEdgeConstraint, setLabel, setName, setPosition, setUserData, switchParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCategory

public NetworkModel.Category getCategory()
Returns the Category of this node.

Specified by:
getCategory in class Node
Returns:
NetworkModel.H_CATEGORY_DECISION.

getRequisiteParents

public NodeList getRequisiteParents()
                             throws ExceptionHugin
Returns a NodeList containing the requisite parents of this decision node.

Throws:
ExceptionHugin

getRequisiteAncestors

public NodeList getRequisiteAncestors()
                               throws ExceptionHugin
Returns a NodeList containing the requisite ancestors of this decision node.

The requisite ancestors are found by augmenting the network with additional information links as prescribed by the "no-forgetting" rule (which states that past observations and decisions are taken into account by all future decisions) and applying the minimal reduction algorithm for LIMIDs.

Throws:
ExceptionHugin