about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/inference/@inf_engine/update_engine.m
blob: afafdeb9bf731e988db01e52e177754cb08f9837 (plain)
1
2
3
4
5
6
7
function engine = update_engine(engine, newCPDs)
% UPDATE_ENGINE Update the engine to take into account the new parameters (inf_engine).
% engine = update_engine(engine, newCPDs)
%
% This generic method is suitable for engines that do not process the parameters until 'enter_evidence'.

engine.bnet.CPD = newCPDs;