function x = sample_noisyor(bnode, bnet)
% SAMPLE_TABULAR Draw a random sample from Pr(self | observed parents) for a noisyor node.
% x = sample_noisyor(bnode, bnet)

CPT = cond_dist_noisyor(bnode, bnet);
x = sample_discrete(CPT);
