public enum QueryEvidenceMode extends Enum<QueryEvidenceMode>
| Enum Constant and Description | 
|---|
RETAIN_QUERY_EVIDENCE
When predictions are made on a variable with evidence, the prediction simply returns the evidence. 
 | 
RETRACT_QUERY_EVIDENCE
When predictions are made on a variable with evidence, the variable's own evidence is ignored. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static QueryEvidenceMode | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static QueryEvidenceMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final QueryEvidenceMode RETAIN_QUERY_EVIDENCE
public static final QueryEvidenceMode RETRACT_QUERY_EVIDENCE
 This allows the prediction of variables, without having to perform multiple calls to Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput), each time setting a different variable to null (missing).
public static QueryEvidenceMode[] values()
for (QueryEvidenceMode c : QueryEvidenceMode.values()) System.out.println(c);
public static QueryEvidenceMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021. All rights reserved.