|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--COM.hugin.HAPI.Node
|
+--COM.hugin.HAPI.DiscreteDecisionNode
|
+--COM.hugin.HAPI.NumberedDDNode
Numbered discrete decision node. Each state of an NumberedDDNode represents a number.
| Constructor Summary | |
NumberedDDNode(NetworkModel initBelongsTo)
Constructs a new NumberedDDNode. |
|
| Method Summary | |
double |
getStateValue(int s)
Returns the value associated with a particular state of this NumberedDDNode. |
double |
setStateValue(int s,
double v)
Sets the value associated with a particular state of this NumberedDDNode. |
| Methods inherited from class COM.hugin.HAPI.DiscreteDecisionNode |
enterFinding,
getCategory,
getEnteredFinding,
getExpectedUtility,
getKind,
getNumberOfStates,
getPropagatedFinding,
getStateLabel,
retractFindings,
selectState,
setNumberOfStates,
setStateLabel |
| Methods inherited from class COM.hugin.HAPI.Node |
addParent,
addToInputs,
addToOutputs,
delete,
evidenceIsEntered,
evidenceIsPropagated,
evidenceToPropagate,
getAttribute,
getAttributes,
getChildren,
getDomain,
getEdgeConstraint,
getHome,
getHomeClass,
getHomeDomain,
getInstance,
getJunctionTree,
getLabel,
getMaster,
getModel,
getName,
getParents,
getPosition,
getSource,
getUserData,
likelihoodIsEntered,
likelihoodIsPropagated,
removeFromInputs,
removeFromOutputs,
removeParent,
reverseEdge,
setAttribute,
setEdgeConstraint,
setLabel,
setName,
setPosition,
setUserData |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public NumberedDDNode(NetworkModel initBelongsTo)
throws ExceptionHugin,
ExceptionArgumentNotAlive
| Method Detail |
public double getStateValue(int s)
throws ExceptionObjectNotAlive
s - the index of the state in question.
public double setStateValue(int s,
double v)
throws ExceptionObjectNotAlive
s - the index of the state in question.v - the new value for state 's'.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||