Daniel@0: function b = backT(engine, f, t) Daniel@0: Daniel@0: if t==1 Daniel@0: [b.clpot, seppot] = distribute_evidence(engine.jtree_engine1, f.clpot, f.seppot); Daniel@0: else Daniel@0: [b.clpot, seppot] = distribute_evidence(engine.jtree_engine, f.clpot, f.seppot); Daniel@0: end Daniel@0: for c=1:length(b.clpot) Daniel@0: [b.clpot{c}, ll(c)] = normalize_pot(b.clpot{c}); Daniel@0: end Daniel@0: b.t = t;