annotate _FullBNT/BNT/inference/online/@smoother_engine/smoother_engine.m @ 9:4ea6619cb3f5 tip

removed log files
author matthiasm
date Fri, 11 Apr 2014 15:55:11 +0100
parents b5b38998ef3b
children
rev   line source
matthiasm@8 1 function engine = smoother_engine(tbn_engine)
matthiasm@8 2 % SMOOTHER_ENGINE Create an engine which does offline (fixed-interval) smoothing in O(T) space/time
matthiasm@8 3 % function engine = smoother_engine(tbn_engine)
matthiasm@8 4 %
matthiasm@8 5 % tbn_engine is any 2TBN inference engine which supports the following methods:
matthiasm@8 6 % fwd, fwd1, back, backT, back, marginal_nodes and marginal_family.
matthiasm@8 7
matthiasm@8 8 engine.tbn_engine = tbn_engine;
matthiasm@8 9 engine.b = []; % space to store smoothed messages
matthiasm@8 10 engine = class(engine, 'smoother_engine');
matthiasm@8 11 %engine = class(engine, 'smoother_engine', inf_engine(bnet_from_engine(tbn_engine)));
matthiasm@8 12