public final class LoopyBeliefInferenceFactory extends Object implements InferenceFactory
InferenceFactory
for more details.Constructor and Description |
---|
LoopyBeliefInferenceFactory() |
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 . |
public Inference createInferenceEngine(Network network)
createInferenceEngine
in interface InferenceFactory
network
- The target Bayesian network.public QueryOptions createQueryOptions()
query
is performed.
Each algorithm may provide additional options.createQueryOptions
in interface InferenceFactory
public 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)
.
createQueryOutput
in interface InferenceFactory
Copyright © 2021. All rights reserved.