public interface InferenceFactory
Modifier and Type | Method and Description |
---|---|
Inference |
createInferenceEngine(Network network)
Creates an instance of an inference algorithm, with the [network] as it's target.
|
QueryOptions |
createQueryOptions()
Creates options that govern how each
query is performed. |
QueryOutput |
createQueryOutput()
Creates an object that collects information about each
query , in addition to the distributions . |
Inference createInferenceEngine(Network network)
network
- The target Bayesian network.QueryOptions createQueryOptions()
query
is performed.
Each algorithm may provide additional options.QueryOutput createQueryOutput()
query
, in addition to the distributions
.
Each algorithm may provide additional output information.
The output object can be created once, and reused over many calls to Inference.query(com.bayesserver.inference.QueryOptions, com.bayesserver.inference.QueryOutput)
.
Copyright © 2023. All rights reserved.