Choosing Probability Distributions for Stochastic Local Search and