* C++: if you declare a function virtual and don't provide a definition in one of the subclasses, then it will use the one from the main class. If the function is pure of course it won't work. Also, on this matter the hierarchy works as expected: it will try to use a function defined deep in the hierarchy.
* Tested generic implementation of Message Passing, seems fine now
* Worked on the Gibbs sampler, generic implementation. The same problems as for the MP algorithm were there. The same ugly solution was used (a switch on types), but to do it elegantly template specialization would really be needed.
* Problems with headers, and templates are getting worse and worse. Have to spend time on that...
* You need to propagate, in the Gibbs sampler, the value chosen by your variable to the Potentials.
-> test and finish Gibbs sampler
-> learn about typedefs, and if it is possible to obtain the base type from a pointer type
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment