Saturday, April 23, 2005

Tree Gibbs Sampler and Gibbs Sampler agree!!

* A big milestone was reached today: after some more bugs were discovered and fixed, the Tree Gibbs Sampler seems to work (at least on a simple 10 nodes graph)! Hurray!

* I didn't have time to read some C++, but I spent time learning more about C++ debuggers (on Linux). DDD sucks, but seems to be the best; you have the option to stick the command tool to the top, which improves the situation (a bit). There are still many things that bother me. I tried the GPS debugger, which seems more modern but, at first glance, is completely worthless (you can't even break on a variable...)

* I developped some self made C++ practices:

* Try to avoid loops using integers, use iterators whenever you can, the type system is much more likely to catch errors!

* If you use more than one for loop in a function, give names to the looping variables, don't just use i, j, etc!

-> implement random graph generation for a single connected component

-> cosmetic changes...

-> speack with Nando and see what's up next

No comments: