Algorithms in Solving a Probability Query

In practice, the exact inference method is not used widely, and most probabilistic inference algorithms are approximate. Nevertheless, it is important to understand exact inference and its limitations

sometimes exact, sometimes approximate algorithms