p2t2/figaro — pull request #206 by gtakata (2014-06-10 11:32:19+00:00)
Title: Fixed MH algorithm to work with intervals > 1

Method attemptChange(...) was not updating state.oldValues when the new value was equal to the old value. In some cases this resulted in the oldValues map being always empty and so never being used by the sample() method.

Also update the BayesianNetworkTest to run MH with and without intervals.