?? marginal_nodes.m
字號:
function [marginal, pot] = marginal_nodes(engine, query)% MARGINAL_NODES Compute the marginal on the specified query nodes (belprop)% [marginal, pot] = marginal_nodes(engine, query)%% query must be a subset of a familyif isempty(query) big_pot = engine.marginal_domains{1}; % pick an arbitrary domainelse big_pot = engine.marginal_domains{query(end)}; endpot = marginalize_pot(big_pot, query);marginal = pot_to_marginal(pot);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -