|
||||||||
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
public class 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 |
getPredictedValue(long time)
Returns the predicted value of this FunctionNode at the specified time point. |
double |
getSampledValue()
Returns the sampled value of this FunctionNode. |
double |
getValue()
Returns the value of this FunctionNode. |
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.
ExceptionHugin
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 getPredictedValue(long time) throws ExceptionHugin
computeDBNPredictions
.
time
- time slice index (a nonnegative integer less than the
number of predicted time slices)
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 |