about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/CPDs/@generic_CPD/generic_CPD.m
blob: 66a85e6a34157c2b6df7f8543b3b59099038e7b7 (plain)
1
2
3
4
5
6
7
8
function CPD = generic_CPD(clamped)
% GENERIC_CPD Virtual constructor for generic CPD
% CPD = discrete_CPD(clamped)

if nargin < 1, clamped = 0; end

CPD.clamped = clamped;
CPD = class(CPD, 'generic_CPD');