public final class TreeQuery extends Object
|Modifier and Type||Method and Description|
Calculates properties of a Bayesian network or Dynamic Bayesian network when converted to a tree for inference.
public static TreeQueryOutput query(Network network, QueryDistributionCollection queryDistributions, Evidence evidence, TreeQueryOptions queryOptions)
This is done without requiring the memory to actually perform inference, and so can be useful to test whether exact inference is feasible on a network, or determine approximate memory requirements.
This can be done while taking into account any evidence currently set, and the particular queries that are being requested.
network- The Bayesian network or Dynamic Bayesian network.
queryDistributions- The distributions being queried.
evidence- Any evidence.
queryOptions- Options which affect how the query is performed.
Copyright © 2019. All rights reserved.