comparison toolboxes/FullBNT-1.0.7/bnt/inference/online/@smoother_engine/smoother_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 = smoother_engine(tbn_engine)
2 % SMOOTHER_ENGINE Create an engine which does offline (fixed-interval) smoothing in O(T) space/time
3 % function engine = smoother_engine(tbn_engine)
4 %
5 % tbn_engine is any 2TBN inference engine which supports the following methods:
6 % fwd, fwd1, back, backT, back, marginal_nodes and marginal_family.
7
8 engine.tbn_engine = tbn_engine;
9 engine.b = []; % space to store smoothed messages
10 engine = class(engine, 'smoother_engine');
11 %engine = class(engine, 'smoother_engine', inf_engine(bnet_from_engine(tbn_engine)));
12