function prob = prob_logistic(bnode, bnet)
% PROB_LOGISTIC Compute the probability of a logistic node.
% prob = prob_logistic(bnode, bnet)

assert(subset(bnode.self, bnet.observed_nodes));
self_val = bnet.values(bnode.self);
CPT = cond_dist_logistic(bnode, bnet);
prob = CPT(self_val);
