|
||||||||
| 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.UtilityNode
A UtilityNode represents a utility function. The utility function can depend on discrete chance and decision Nodes.
UtilityNodes are used in influence diagrams to represent utilities associated with decision options.
| Constructor Summary | |
UtilityNode(NetworkModel initBelongsTo)
Constructs a new UtilityNode in a NetworkModel (i.e., a Class or a Domain). |
|
| Method Summary | |
void |
delete()
Deletes this UtilityNode. |
void |
generateTable()
Generates the utility table of this UtilityNode from its model. |
NetworkModel.Category |
getCategory()
Returns the Category for this UtilityNode. |
NetworkModel.Kind |
getKind()
Returns the Kind for this UtilityNode. |
Table |
getTable()
Returns the Table associated with this UtilityNode. |
void |
touchTable()
Touches the Table of this UtilityNode. |
| Methods inherited from class COM.hugin.HAPI.Node |
addParent,
addToInputs,
addToOutputs,
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 UtilityNode(NetworkModel initBelongsTo)
throws ExceptionHugin,
ExceptionArgumentNotAlive
initBelongsTo - the NetworkModel in which the new
UtilityNode should be created.| Method Detail |
public Table getTable()
throws ExceptionHugin
public NetworkModel.Category getCategory()
throws ExceptionObjectNotAlive
public NetworkModel.Kind getKind()
throws ExceptionObjectNotAlive
public void generateTable()
throws ExceptionObjectNotAlive,
ExceptionArgumentNotAlive,
ExceptionHugin
public void touchTable()
throws ExceptionObjectNotAlive,
ExceptionHugin
public void delete()
throws ExceptionObjectNotAlive,
ExceptionHugin
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||