COM.hugin.HAPI
Class DiscreteFunctionNode

java.lang.Object
  extended by COM.hugin.HAPI.Node
      extended by COM.hugin.HAPI.DiscreteNode
          extended by COM.hugin.HAPI.DiscreteFunctionNode
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
BooleanDFNode, IntervalDFNode, LabelledDFNode, NumberedDFNode

public abstract class DiscreteFunctionNode
extends DiscreteNode

The DiscreteFunctionNode class. Base class for all discrete function nodes.

The table of a DiscreteFunctionNode is not a conditional distribution given the parents (unlike the other discrete nodes). Instead, it is a marginal distribution which can be a function of the values of the parents (specified as a Model).


Method Summary
 NetworkModel.Category getCategory()
          Returns the Category of this 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_FUNCTION.