Click or drag to resize

VariableEliminationInference Class

An exact inference algorithm for Bayesian networks and Dynamic Bayesian networks, loosely based on the Variable Elimination algorithm.
Inheritance Hierarchy
SystemObject
  BayesServer.Inference.VariableEliminationVariableEliminationInference

Namespace:  BayesServer.Inference.VariableElimination
Assembly:  BayesServer.Inference (in BayesServer.Inference.dll) Version: 8.3
Syntax
public sealed class VariableEliminationInference : IInference, 
	IDisposable

The VariableEliminationInference type exposes the following members.

Constructors
  NameDescription
Public methodVariableEliminationInference
Initializes a new instance of the VariableEliminationInference class, with the target Bayesian network.
Top
Properties
  NameDescription
Public propertyBaseEvidence
Optional evidence which can be used to calculate the lift of queries. Defaults to null.
Public propertyEvidence
Gets or sets the evidence (case data, e.g. row in a database) used in a query.
Public propertyNetwork
The target Bayesian network.
Public propertyQueryDistributions
The collection of distributions required from a Query. Only request those that you need.
Top
Methods
  NameDescription
Public methodDispose
Stops listening to notifications on the underlying Network.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Stops listening to notifications on the underlying Network before the VariableEliminationInference instance is reclaimed by garbage collection.
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodQuery
Calculates a number of distributions, e.g. P(A) and P(B) given the evidence (case data, e.g. row in a database), and if requested the log-likelihood of the data.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventQueryExecuted
The event that is fired when the Query method completes.
Public eventQueryExecuting
The event that is fired when the Query method begins.
Top
See Also