C liblary of the Bayesian network which was optimized dynamic programming of Silander and Myllymaki(2006).