blob: 3ce87d0b71a5f7920c825348ad68dc5fec7ec7b2 (
plain)
1
2
3
4
5
6
|
function pot = CPD_to_upot(CPD, domain)
% CPD_TO_UPOT Convert a CPD to a utility potential
% pot = CPD_to_upot(CPD, domain)
sz = CPD.size; % mysize(CPD.CPT);
pot = upot(domain, sz, CPD.CPT, 0*myones(sz));
|