Genetic algorithms applied to Bayesian networks