about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/examples/dynamic/HHMM/Map/disp_map_hhmm.m
blob: 0aadf2bba656e68f8b1fe3693cdd62cb579abe7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function disp_map_hhmm(bnet)

eclass = bnet.equiv_class;
U = 1; A = 2; C = 3; F = 4;

S = struct(bnet.CPD{eclass(A,2)});
disp('abstract trans')
dispcpt(S.transprob)

S = struct(bnet.CPD{eclass(C,2)});
disp('concrete trans for go left') % UAC AC
dispcpt(squeeze(S.transprob(1,:,:,:,:)))