|
|||||||||
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.DiscreteDecisionNode
COM.hugin.HAPI.NumberedDDNode
Numbered discrete decision node. Each state of an NumberedDDNode represents a number.
Constructor Summary | |
NumberedDDNode(NetworkModel belongsTo)
Constructs a new NumberedDDNode. |
Method Summary | |
int |
getStateIndex(double value)
Returns the index of the state matching the specified value. |
double |
getStateValue(int s)
Returns the value associated with a particular state of this NumberedDDNode. |
void |
setStateValue(int s,
double v)
Sets the value associated with a particular state of this NumberedDDNode. |
Methods inherited from class COM.hugin.HAPI.DiscreteDecisionNode |
getCategory, getRequisiteParents |
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 |
Constructor Detail |
public NumberedDDNode(NetworkModel belongsTo) throws ExceptionHugin
Method Detail |
public double getStateValue(int s) throws ExceptionHugin
s
- the index of the state in question.
ExceptionHugin
public int getStateIndex(double value) throws ExceptionHugin
value
- the state value of the state to be searched for
ExceptionHugin
public void setStateValue(int s, double v) throws ExceptionHugin
s
- the index of the state in question.v
- the new value for state s
.
ExceptionHugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |