Package com.bayesserver.inference
Class QueryFunctionOutput
- java.lang.Object
-
- com.bayesserver.inference.QueryFunctionOutput
-
-
Constructor Summary
Constructors Constructor Description QueryFunctionOutput(Variable variable)
Initializes a new instance of thecom.bayesserver.QueryFunctionOutput
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryFunctionOutput
copy()
Creates a copy of this instance.Object
getValue()
Holds the result of a function evaluation at query time.Variable
getVariable()
The function variable to evaluate.void
setValue(Object value)
Holds the result of a function evaluation at query time.
-
-
-
Constructor Detail
-
QueryFunctionOutput
public QueryFunctionOutput(Variable variable)
Initializes a new instance of thecom.bayesserver.QueryFunctionOutput
class.- Parameters:
variable
- The function variable to evaluate.
-
-
Method Detail
-
copy
public QueryFunctionOutput copy()
Creates a copy of this instance.- Returns:
- A copy of this instance.
-
getValue
public Object getValue()
Holds the result of a function evaluation at query time.
-
setValue
public void setValue(Object value)
Holds the result of a function evaluation at query time.
-
getVariable
public Variable getVariable()
The function variable to evaluate.
-
-