This is the Matlab code to convert the Structure Learning (http://www.ecse.rpi.edu/~cvrl/structlearning.html)  results into BNT network model.