Stochastic local search for Bayesian network