Construction of simulation for probabilistic inference in uncertain and dynamic networks based on bayesian networks