|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCOM.hugin.HAPI.Node
COM.hugin.HAPI.DiscreteNode
COM.hugin.HAPI.DiscreteChanceNode
The DiscreteChanceNode class. Base class for all discrete chance nodes.
Method Summary | |
void |
computeSensitivityData(int state)
Computes the constants of the sensitivity functions for the specified output probability and all CPT/policy parameters in the network. |
NetworkModel.Category |
getCategory()
Returns the Category of this node. |
Table |
getExperienceTable()
Returns the experience table of this DiscreteChanceNode. |
Table |
getFadingTable()
Returns the fading table of this DiscreteChanceNode. |
boolean |
hasExperienceTable()
Returns true if this DiscreteChanceNode has an
experience table; returns false otherwise. |
boolean |
hasFadingTable()
Returns true if this DiscreteChanceNode has a
fading table; returns false otherwise. |
Methods inherited from class COM.hugin.HAPI.DiscreteNode |
caseIsSet, enterFinding, generateTable, getBelief, getCaseState, getEnteredFinding, getEntropy, getExpectedUtility, getKind, getMutualInformation, getNumberOfStates, getPropagatedFinding, getSampledState, getSensitivityConstants, getSensitivityConstants, getStateIndex, getStateLabel, retractFindings, selectState, setCaseState, setNumberOfStates, setStateLabel, unsetCase |
Methods inherited from class COM.hugin.HAPI.Node |
addParent, addToInputs, addToOutputs, clone, delete, evidenceIsEntered, evidenceIsPropagated, evidenceToPropagate, getAttribute, getAttributes, getChildren, getDomain, getEdgeConstraint, getHome, getHomeClass, getHomeDomain, getInstance, getJunctionTree, getLabel, getMaster, getModel, getName, getParents, getPosition, getSource, getTable, 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 |
public NetworkModel.Category getCategory()
getCategory
in class Node
public boolean hasExperienceTable() throws ExceptionHugin
true
if this DiscreteChanceNode has an
experience table; returns false
otherwise.
ExceptionHugin
public boolean hasFadingTable() throws ExceptionHugin
true
if this DiscreteChanceNode has a
fading table; returns false
otherwise.
ExceptionHugin
public Table getFadingTable() throws ExceptionHugin
ExceptionHugin
public Table getExperienceTable() throws ExceptionHugin
ExceptionHugin
public void computeSensitivityData(int state) throws ExceptionHugin
This method simply calls computeSensitivityData
with the specified output probability
as argument.
state
- the index of a state of this node - the
probability of this state is the desired output probability.
ExceptionHugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |