fun queryProb(query: Query.ProbQuery?): EmpiricalDistribution? { val isquery = LikelihoodWeighting(query, nbSamples, maxSamplingTime) val samples: List<Sample> = isquery.getSamples() return EmpiricalDistribution(samples) }
Queries for the probability distribution of the set of random variables in the Bayesian network , given the provided evidence