annotate toolboxes/FullBNT-1.0.7/bnt/inference/online/@smoother_engine/smoother_engine.m @ 0:cc4b1211e677 tip

initial commit to HG from Changeset: 646 (e263d8a21543) added further path and more save "camirversion.m"
author Daniel Wolff
date Fri, 19 Aug 2016 13:07:06 +0200
parents
children
rev   line source
Daniel@0 1 function engine = smoother_engine(tbn_engine)
Daniel@0 2 % SMOOTHER_ENGINE Create an engine which does offline (fixed-interval) smoothing in O(T) space/time
Daniel@0 3 % function engine = smoother_engine(tbn_engine)
Daniel@0 4 %
Daniel@0 5 % tbn_engine is any 2TBN inference engine which supports the following methods:
Daniel@0 6 % fwd, fwd1, back, backT, back, marginal_nodes and marginal_family.
Daniel@0 7
Daniel@0 8 engine.tbn_engine = tbn_engine;
Daniel@0 9 engine.b = []; % space to store smoothed messages
Daniel@0 10 engine = class(engine, 'smoother_engine');
Daniel@0 11 %engine = class(engine, 'smoother_engine', inf_engine(bnet_from_engine(tbn_engine)));
Daniel@0 12