gtsam/matlab/gtsam_tests/thinBayesTree.m

5 lines
163 B
Matlab

function bayesTree = thinBayesTree(depth, width)
import gtsam.*
bayesNet = thinTreeBayesNet(depth, width);
bayesTree = GaussianBayesTree(bayesNet);
end