function prob = prob_tabular(bnode, bnet)
% PROB_TABULAR Compute Pr(observed self | observed parents) for a tabular node.
% prob = prob_tabular(bnode, bnet)

%assert(subset(bnode.self, bnet.observed_nodes));

self_val = bnet.values(bnode.self);
CPT = cond_dist_tabular(bnode, bnet);
prob = CPT(self_val);
