Bayesian Algorithms for one-dimensional global optimization