https://5dok.org/document/yr38nvp8-inference-in-temporal-graphical-models.html