public interface QueryOptions
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).| Modifier and Type | Method and Description | 
|---|---|
Cancellation | 
getCancellation()
Allows cancellation of a query. 
 | 
boolean | 
getConflict()
Gets a value indicating whether the conflict measure should be calculated in a call to  
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput). | 
DecisionAlgorithm | 
getDecisionAlgorithm()
Gets the algorithm to use when a network contains Decision nodes. 
 | 
InconsistentEvidenceMode | 
getInconsistentEvidenceMode()
Determines when an  
InconsistentEvidenceException is raied. | 
boolean | 
getLogLikelihood()
Gets a value indicating whether the log-likelihood of a case should be calculated in a call to  
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput). | 
PropagationMethod | 
getPropagation()
Gets the propagation method to be used during inference. 
 | 
QueryEvidenceMode | 
getQueryEvidenceMode()
Determines whether evidence is retracted for each query. 
 | 
Integer | 
getTerminalTime()
Gets the terminal time, which is the time at which any terminal nodes in a Dynamic Bayesian Network connect to temporal nodes. 
 | 
void | 
setCancellation(Cancellation value)
Allows cancellation of a query. 
 | 
void | 
setConflict(boolean value)
Sets a value indicating whether the conflict measure should be calculated in a call to  
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput). | 
void | 
setDecisionAlgorithm(DecisionAlgorithm value)
Sets the algorithm to use when a network contains Decision nodes. 
 | 
void | 
setInconsistentEvidenceMode(InconsistentEvidenceMode value)
Determines when an  
InconsistentEvidenceException is raied. | 
void | 
setLogLikelihood(boolean value)
Sets a value indicating whether the log-likelihood of a case should be calculated in a call to  
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput). | 
void | 
setPropagation(PropagationMethod value)
Sets the propagation method to be used during inference. 
 | 
void | 
setQueryEvidenceMode(QueryEvidenceMode value)
Determines whether evidence is retracted for each query. 
 | 
void | 
setTerminalTime(Integer value)
Sets the terminal time, which is the time at which any terminal nodes in a Dynamic Bayesian Network connect to temporal nodes. 
 | 
boolean getLogLikelihood()
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).  If calculated the result can be obtained from QueryOutput.getLogLikelihood().
 
 
 This should only be requested if required.
The natural log (base e) is calculated.
true if the log-likelihood should be calculated; otherwise, false.  Defaults to false.void setLogLikelihood(boolean value)
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).  If calculated the result can be obtained from QueryOutput.getLogLikelihood().
 
 
 This should only be requested if required.
The natural log (base e) is calculated.
value - true if the log-likelihood should be calculated; otherwise, false.  Defaults to false.PropagationMethod getPropagation()
PropagationMethod.SUM.void setPropagation(PropagationMethod value)
PropagationMethod.SUM.DecisionAlgorithm getDecisionAlgorithm()
void setDecisionAlgorithm(DecisionAlgorithm value)
boolean getConflict()
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).  If calculated the result can be obtained from QueryOutput.getConflict().
 
 
 Conflict is a measure that detects evidence that is conflicting or rare. The greater the conflict value above zero, the more likely the evidence is in conflict, or rare.
Conflict = log((P(e1)P(e2)...P(ei)) / P(e)), where P(e1), P(e2) etc... are the likelihoods of each variable considered in isolation, and P(e) is the likelihood of the all the evidence together.
void setConflict(boolean value)
Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).  If calculated the result can be obtained from QueryOutput.getConflict().
 
 
 Conflict is a measure that detects evidence that is conflicting or rare. The greater the conflict value above zero, the more likely the evidence is in conflict, or rare.
Conflict = log((P(e1)P(e2)...P(ei)) / P(e)), where P(e1), P(e2) etc... are the likelihoods of each variable considered in isolation, and P(e) is the likelihood of the all the evidence together.
QueryEvidenceMode getQueryEvidenceMode()
QueryEvidenceMode for more information.void setQueryEvidenceMode(QueryEvidenceMode value)
QueryEvidenceMode for more information.InconsistentEvidenceMode getInconsistentEvidenceMode()
InconsistentEvidenceException is raied.void setInconsistentEvidenceMode(InconsistentEvidenceMode value)
InconsistentEvidenceException is raied.Cancellation getCancellation()
CancellationException will be raised.
  If Cancellation.getCancel() has been set to true, it should be reset to false, before a subsequent query.
void setCancellation(Cancellation value)
CancellationException will be raised.
  If Cancellation.getCancel() has been set to true, it should be reset to false, before a subsequent query.
Integer getTerminalTime()
void setTerminalTime(Integer value)
Copyright © 2021. All rights reserved.