|
|||||||||
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.FunctionNode
A FunctionNode represents a real-valued function. This function is specified using expressions (which may refer to the values of the parents) in a Model.
Constructor Summary | |
FunctionNode(NetworkModel belongsTo)
Constructs a new FunctionNode in a NetworkModel (i.e., a Class or a Domain). |
Method Summary | |
NetworkModel.Category |
getCategory()
Returns the Category of this FunctionNode. |
NetworkModel.Kind |
getKind()
Returns the Kind of this FunctionNode. |
double |
getSampledValue()
Returns the sampled value of this FunctionNode. |
double |
getValue()
Returns the value of this FunctionNode. |
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 FunctionNode(NetworkModel belongsTo) throws ExceptionHugin
belongsTo
- the NetworkModel in which the new FunctionNode
should be created.Method Detail |
public NetworkModel.Category getCategory()
getCategory
in class Node
public NetworkModel.Kind getKind()
getKind
in class Node
public double getValue() throws ExceptionHugin
ExceptionHugin
public double getSampledValue() throws ExceptionHugin
Domain.simulate()
.
ExceptionHugin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |