I have thought about this, but it only be used in CFactorGraph. Maybe we should create a "pgm" folder, and put all graphical model related classes in, each with a single file.