function CPT = mk_CPT_from_deterministic_or(np)
% MK_CPT_FROM_DETERMINISTIC_OR Make a tabular representation of a deterministic OR gate.
% CPT = mk_CPT_from_deterministic_or(num_parents)

%CPT = mk_CPT_from_noisyor([1 zeros(1,np)]);

CPT = zeros(2^np, 2);
CPT(1,1) = 1; % all parents are off, so I'm off
CPT(2:end, 2) = 1; % one or more parents are on, so I'm on
CPT = reshape(CPT, twos(1,np+1));
