|
|||||||||
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.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, 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 UtilityNode(NetworkModel initBelongsTo) throws ExceptionHugin
initBelongsTo
- the NetworkModel in which the new
UtilityNode should be created.Method Detail |
public Table getTable() throws ExceptionHugin
ExceptionHugin
public NetworkModel.Category getCategory() throws ExceptionObjectNotAlive
getCategory
in class Node
ExceptionObjectNotAlive
public NetworkModel.Kind getKind() throws ExceptionObjectNotAlive
getKind
in class Node
ExceptionObjectNotAlive
public void generateTable() throws ExceptionHugin
ExceptionHugin
public void touchTable() throws ExceptionHugin
ExceptionHugin
public void delete() throws ExceptionHugin
delete
in class Node
ExceptionHugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |