samplebn.m
来自「UMDA. a kind of estimation of distributi」· M 代码 · 共 19 行
M
19 行
function[NewPop] = SampleBN(bnet,PopSize) % Creates the structure of a junction tree where each variable% depends on its dim previous variables % INPUTS% NumbVar: Number of variables% dim: Number of previous variables each variables depends on % OUTPUTS% Cliques: Structure of the model in a list of cliques that defines the (chain shaped) junction tree. %---Each row of Cliques is a clique. The first value is the number of overlapping variables. %---The second, is the number of new variables.%---Then, overlapping variables are listed and finally new variables are listed.for i=1:PopSize NewPop(i,:) = sample_bnet(bnet);end % Last version 9/27/2005. Roberto Santana (rsantana@si.ehu.es)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?