function jt = unmark_cliques( jtree ) clqs = jtree{1}; len = length(clqs); for i=1:len, clqs{i}.mark = 0; end; jt{1} = clqs; jt{2} = jtree{2}; jt{3} = jtree{3};