libDAI: A Free and Open Source C++ Library for Discrete Approximate Inference in Graphical Models | Synapse