function CPT = cond_dist_noisyor(bnode, bnet)
% COND_NOISYOR Compute Pr(self | observed parents) for a noisyor node.
% CPT = cond_noisyor(bnode, bnet)

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

parent_vals = bnet.values(bnode.parents);
np = length(bnode.parents);
index = mk_multi_index(np+1, 1:np, parent_vals);
CPT = mk_CPT_from_noisyor(bnode.inhibit);
CPT = CPT(index{:});
