Automatically exported from code.google.com/p/pbn-matlab-toolbox
This is the code from BN/PBN toolbox, a Matlab toolbox created by Lahdesmaki and Shmulevich in 2009 for simulation, visualisation and analysis of Boolean and Probabilistic Boolean Network models.
It is used by optPBN, and installed with it.