Package com.bayesserver.inference
Interface QueryOutput
-
- All Known Subinterfaces:
CausalQueryOutput
- All Known Implementing Classes:
BackdoorQueryOutput
,CausalQueryOutputBase
,DisjunctiveCauseQueryOutput
,FrontDoorQueryOutput
,LikelihoodSamplingQueryOutput
,LoopyBeliefQueryOutput
,RelevanceTreeQueryOutput
,VariableEliminationQueryOutput
public interface QueryOutput
Returns any information, in addition to thedistributions
, that is requested from aquery
. For example thelog-likelihood
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Double
getConflict()
Gets the conflict measure.Double
getLogLikelihood()
Gets the log-likelihood value.void
reset()
Resets all values to their defaults.void
setConflict(Double value)
Sets the conflict measure.void
setLogLikelihood(Double value)
Sets the log-likelihood value.
-
-
-
Method Detail
-
getLogLikelihood
Double getLogLikelihood()
Gets the log-likelihood value. On return from aquery
the value will be null unlessQueryOptions.getLogLikelihood()
is set to true.The log-likelihood should only be requested if required.
The natural log (base e) likelihood is returned, or null if not requested.
-
setLogLikelihood
void setLogLikelihood(Double value)
Sets the log-likelihood value. On return from aquery
the value will be null unlessQueryOptions.getLogLikelihood()
is set to true.The log-likelihood should only be requested if required.
The natural log (base e) likelihood is returned, or null if not requested.
-
getConflict
Double getConflict()
Gets the conflict measure. On return from aquery
the value will be null unlessQueryOptions.getConflict()
is set to true.The conflict measure should only be requested if required.
-
setConflict
void setConflict(Double value)
Sets the conflict measure. On return from aquery
the value will be null unlessQueryOptions.getConflict()
is set to true.The conflict measure should only be requested if required.
-
reset
void reset()
Resets all values to their defaults. For example the log-likelihood is reset to null.
-
-