Welcome to fglib2’s documentation!

fglib2 provides a fast and flexible package for creating and manipulating factor graphs. fglib2 is based on the implementation of the original fglib package by Daniel Bartel. While the functionality of the package is similar to the original fglib, the implementation is improved.

The topic of factor graphs is best understood through Phillipp Henning’s Lecture on YouTube.

For event and variable definitions used in this package, please refer to the documentation and examples from the random_events package.

Installation

Install the fglib2 package using pip:

pip install fglib2

Indices and tables