public final class RelevanceTreeInferenceFactory extends Object implements InferenceFactory
InferenceFactory for more details.| Constructor and Description | 
|---|
RelevanceTreeInferenceFactory()  | 
| Modifier and Type | Method and Description | 
|---|---|
Inference | 
createInferenceEngine(Network network)
Uses the factory design pattern to create inference related objects for the Relevance Tree algorithm. 
 | 
QueryOptions | 
createQueryOptions()
Creates a  
RelevanceTreeQueryOptions instance that governs the calculations performed by the RelevanceTreeInference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput) method. | 
QueryOutput | 
createQueryOutput()
Creates a  
RelevanceTreeQueryOutput instance that collects information about each query, in addition to the distributions. | 
public Inference createInferenceEngine(Network network)
InferenceFactory for more details.createInferenceEngine in interface InferenceFactorynetwork - The target Bayesian network.public QueryOptions createQueryOptions()
RelevanceTreeQueryOptions instance that governs the calculations performed by the RelevanceTreeInference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput) method.createQueryOptions in interface InferenceFactoryRelevanceTreeInference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).public QueryOutput createQueryOutput()
RelevanceTreeQueryOutput instance that collects information about each query, in addition to the distributions.
 
 
 The output object can be created once, and reused over many calls to Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput).
createQueryOutput in interface InferenceFactoryCopyright © 2021. All rights reserved.