public final class LoopyBeliefQueryOutput extends Object implements QueryOutput
distributions
, that is requested from a query
. For example the log-likelihood
.Constructor and Description |
---|
LoopyBeliefQueryOutput()
Initializes a new instance of the
LoopyBeliefQueryOutput class. |
Modifier and Type | Method and Description |
---|---|
Double |
getConflict()
Gets the conflict measure.
|
int |
getIterations()
Gets the number of iterations performed.
|
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.
|
public LoopyBeliefQueryOutput()
LoopyBeliefQueryOutput
class.public int getIterations()
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 © 2021. All rights reserved.