comparison toolboxes/FullBNT-1.0.7/bnt/inference/static/@var_elim_inf_engine/var_elim_inf_engine.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 function engine = var_elim_inf_engine(bnet, varargin)
2 % VAR_ELIM_INF_ENGINE Variable elimination inference engine
3 % engine = var_elim_inf_engine(bnet)
4 %
5 % For details on variable elimination, see
6 % - R. Dechter, "Bucket Elimination: A Unifying Framework for Probabilistic Inference", UA1 96, pp. 211-219.
7 % - Z. Li and B. D'Ambrosio, "Efficient inference in Bayes networks as a combinatorial
8 % optimization problem", Intl. J. Approximate Reasoning, 11(1):55-81, 1994
9 % - R. McEliece and S. M. Aji, "The Generalized Distributive Law", IEEE Trans. Inform. Theory, 46(2), 2000
10
11
12 % This is where we will store the results between enter_evidence and marginal_nodes
13 engine.evidence = [];
14
15 engine = class(engine, 'var_elim_inf_engine', inf_engine(bnet));