* Finished the implementation of Generic Message Passing. But the result is ugly, with a switch on type, etc... The implementation could be way better with a rewrite. For this we would need to do template specialization, mark Potential and Variable MessageNode as subclass of FacotrGraphMessageNode (for exemple). We could then rewrite a lot of stuff more nicely.
* Implemented a sum over a Potential. It is not general, but it is well implemented, I believe, for Discrete Potentials, RVs, and Factor Graph.It allows us to actually send the messages from the Potential Node.
-> test our implementation of Message Passing
-> write a generic version of the Gibbs Sampler (simple)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment