Use uniform and Gaussian distributions for the edge weights.