COM.hugin.HAPI
Class BooleanDCNode

java.lang.Object
  extended byCOM.hugin.HAPI.Node
      extended byCOM.hugin.HAPI.DiscreteNode
          extended byCOM.hugin.HAPI.DiscreteChanceNode
              extended byCOM.hugin.HAPI.BooleanDCNode
All Implemented Interfaces:
java.lang.Cloneable

public class BooleanDCNode
extends DiscreteChanceNode

Boolean chance node. A BooleanDCNode has states false and true.


Constructor Summary
BooleanDCNode(DiscreteNode node)
          Constructs a new BooleanDCNode object corresponding to the given DiscreteNode object node.
BooleanDCNode(NetworkModel belongsTo)
          Constructs a Boolean chance node with states false and true.
 
Methods inherited from class COM.hugin.HAPI.DiscreteChanceNode
computeSensitivityData, getCategory, getExperienceTable, getFadingTable, hasExperienceTable, hasFadingTable
 
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
 

Constructor Detail

BooleanDCNode

public BooleanDCNode(NetworkModel belongsTo)
              throws ExceptionHugin
Constructs a Boolean chance node with states false and true.


BooleanDCNode

public BooleanDCNode(DiscreteNode node)
              throws ExceptionHugin
Constructs a new BooleanDCNode object corresponding to the given DiscreteNode object node. (node must be a chance or a decision node.) The new object will be identical to node (that is, same parents, same table, etc.) except for its type.

As a side-effect, the object node dies (that is, becomes "not-alive"). Moreover, all (output and temporal) clones associated with node also die.