Design And Implementation of Advanced Bayesian Networks With Comparative Probability