Introduction - If you have any usage issues, please Google them yourself
This code implements the search algorithms described in [1]. The code only contains the Dirichlet/Multinomial case, but the Gaussian case can be hacked in in about 5 minutes.
[1] Fast search for Dirichlet process mixture models Conference on AI and Statistics (2007)