Daniel@0: function CPD = generic_CPD(clamped) Daniel@0: % GENERIC_CPD Virtual constructor for generic CPD Daniel@0: % CPD = discrete_CPD(clamped) Daniel@0: Daniel@0: if nargin < 1, clamped = 0; end Daniel@0: Daniel@0: CPD.clamped = clamped; Daniel@0: CPD = class(CPD, 'generic_CPD');