annotate _FullBNT/BNT/inference/dynamic/@kalman_inf_engine/update_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 = update_engine(engine, newCPDs)
matthiasm@8 2 % UPDATE_ENGINE Update the engine to take into account the new parameters (kalman)
matthiasm@8 3 % engine = update_engine(engine, newCPDs)
matthiasm@8 4
matthiasm@8 5 engine.inf_engine = update_engine(engine.inf_engine, newCPDs);
matthiasm@8 6 [engine.trans_mat, engine.trans_cov, engine.obs_mat, engine.obs_cov, engine.init_state, engine.init_cov] = ...
matthiasm@8 7 dbn_to_lds(bnet_from_engine(engine));
matthiasm@8 8
matthiasm@8 9