An application of Bayesian networks for the optimization of a bridge layout