Algorithm for turning bayesian graph or factor graph into a junction tree.
To a create conda environment with dependencies issue the following command
conda create --name <env> --file requirements.txt
The documentation of the code is available at https://mkurop.github.io/junctiontree/.