This documents the input format used by PGM to compute inference. The work of the Matlab M-files is to generate a file in this format.
<method>
<all potential tables>
<timer>
This instructs the inference engine to use a timer; e.g., the computational time will be measured with real seconds instead of steps.
<monitor>
This activates monitoring, allowing errors to be computed at each step/second.
<number of runs> (a)
This will make the requested number of runs (specified by a), instead of a single run.
<observations> (a b) ... (a b)
The variables represented by the indexes a will be set observed to the values b.
<internal potentials> (a) ( x ... z ) ... (a) ( x ... z )
The variables represented by the indexes a will get their priors (internal potentials) set to the vector given by values x ... z.