about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/inference/online/@smoother_engine/marginal_nodes.m
blob: e8574c536e6bda882e8ab4c80a5850a131555e98 (plain)
1
2
3
4
5
6
7
function marginal = marginal_nodes(engine, nodes, t, add_ev)
% MARGINAL_NODES Compute the joint distribution on a set of nodes (smoother_engine)
% function marginal = marginal_nodes(engine, nodes, t, add_ev)

if nargin < 4, add_ev = 0; end

marginal = marginal_nodes(engine.tbn_engine, engine.b{t}, nodes, t, add_ev);