-
大小: 0.47M文件类型: .rar金币: 1下载: 0 次发布日期: 2021-03-08
- 语言: Matlab
- 标签: 因子图 sum-product matlab
资源简介
因子图和和积算法的matlab实现,给需要的人用
代码片段和文件信息
classdef and_node < factor_node
%AND_NODE a bivalue node & subclass of factor_node constraints the child
%and parent connections to behave as a and gate such that the child message
%become false when any of the parent message is false.
%
% Description of factor_fun
% input: in_msg from_id to_id
% if message is directed to child
% msg(2) = product of all in_msg{i}(2)
% msg(1) = 1 - msg(2)
% if message is directed to parent
% msg(2) = product of all in_msg{i}(2) except the message from child
% msg(2) = child_msg(1) + msg(1)*(child_msg(2) - child_msg(1))
% msg(1) = child_msg(1)
properties
end
methods
function s = and_node(id)
s = s@factor_node(id);
end
function msg = factor_fun(s in_msg from_id to_id)
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1915 2014-02-12 13:06 Factor Graph and Sum Product algrithm\and_node.m
文件 211 2014-02-12 13:06 Factor Graph and Sum Product algrithm\connect.m
文件 2356 2014-02-12 13:06 Factor Graph and Sum Product algrithm\cp2_node.m
文件 2778 2014-02-12 13:06 Factor Graph and Sum Product algrithm\cp3_node.m
文件 1783 2014-02-12 13:06 Factor Graph and Sum Product algrithm\cp_node.m
文件 756 2014-02-12 13:06 Factor Graph and Sum Product algrithm\equ_node.m
文件 1306 2014-02-12 13:06 Factor Graph and Sum Product algrithm\even_parity_node.m
文件 2462 2014-02-12 13:06 Factor Graph and Sum Product algrithm\evident_node.m
文件 1974 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\and_example.m
文件 1611 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\explained_away.m
文件 1700 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\factor_graph_test.m
文件 3354 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\Hidden_Markov_Chain.m
文件 2601 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\hypothesis.m
文件 2087 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\Kalman_Filter_Example.m
文件 2424 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\LDPC.m
文件 2932 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\Linear_Backward_Example.m
文件 1804 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\noisy_or_example.m
文件 2108 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\or_example.m
文件 324 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\sim_hmm.m
文件 5287 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\sudoku.m
文件 212 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\sudoku_4x4_01.mat
文件 212 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\sudoku_4x4_02.mat
文件 218 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\sudoku_9x9_01.mat
文件 218 2014-02-12 13:06 Factor Graph and Sum Product algrithm\Examples\sudoku_9x9_02.mat
文件 13266 2014-02-12 13:06 Factor Graph and Sum Product algrithm\factor_node.m
文件 1785 2014-02-12 13:06 Factor Graph and Sum Product algrithm\ls_add_node.m
文件 926 2014-02-12 13:06 Factor Graph and Sum Product algrithm\ls_equ_node.m
文件 1364 2014-02-12 13:06 Factor Graph and Sum Product algrithm\ls_gain2_node.m
文件 670 2014-02-12 13:06 Factor Graph and Sum Product algrithm\ls_marginal.m
文件 191 2014-02-12 13:06 Factor Graph and Sum Product algrithm\marginal.m
............此处省略11个文件信息
- 上一篇:SMC 滑模控制经典书籍
- 下一篇:基于双闭环控制的三相逆变并网控制器设计
评论
共有 条评论