public final class LikelihoodSamplingQueryOutput extends Object implements QueryOutput
distributions
, that is requested from a query
. For example the log-likelihood
.Constructor and Description |
---|
LikelihoodSamplingQueryOutput()
Initializes a new instance of the
LikelihoodSamplingQueryOutput class. |
Modifier and Type | Method and Description |
---|---|
Double |
getConflict()
Gets the conflict measure.
|
Double |
getLogLikelihood()
Gets the log-likelihood value.
|
int |
getSeed()
Gets the seed used by the random number generator.
|
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.
|
void |
setSeed(int value)
Sets the seed used by the random number generator.
|
public LikelihoodSamplingQueryOutput()
LikelihoodSamplingQueryOutput
class.public int getSeed()
public void setSeed(int value)
public Double getLogLikelihood()
query
the value will be null unless QueryOptions.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.
getLogLikelihood
in interface QueryOutput
public void setLogLikelihood(Double value)
query
the value will be null unless QueryOptions.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
in interface QueryOutput
public Double getConflict()
query
the value will be null unless QueryOptions.getConflict()
is set to true.
The conflict measure should only be requested if required.
getConflict
in interface QueryOutput
public void setConflict(Double value)
query
the value will be null unless QueryOptions.getConflict()
is set to true.
The conflict measure should only be requested if required.
setConflict
in interface QueryOutput
public void reset()
reset
in interface QueryOutput
Copyright © 2023. All rights reserved.