function cliques = cliques_from_engine(engine)
% CLIQUES_FROM_ENGINE Return the cliques stored inside the inf. engine (jtree)
% cliques = cliques_from_engine(engine)

cliques = engine.cliques;

bayesnet
github-repos/MATLAB/bayesnet-bnt/bnt-bebba5f437b4e1e29169f0f3669df59fb5392e62/BNT/inference/static/@jtree_sparse_inf_engine/cliques_from_engine.m
bnt
github-repos/MATLAB/bayesnet-bnt
bebba5f437b4e1e29169f0f3669df59fb5392e62