The cs++ program in pdp++ does boltzmann machines and many related algorithms. Please see the manual (online at the web page or printout) for details. - Randy