To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / _FullBNT / BNT / general / mk_mrf2.m @ 8:b5b38998ef3b

History | View | Annotate | Download (209 Bytes)

1
function mrf2 = mk_mrf2(adj_mat, pot)
2
% MK_MRF2 Make a Markov random field with pairwise potentials
3
% function mrf2 = mk_mrf2(adj_mat, pot)
4
%
5
% pot{i,j}(k1,k2)
6

    
7
mrf2.adj_mat = adj_mat;
8
mrf2.pot = pot;