Actors by Bayesian networks