|
mrf
v0.2.0
|
| void bp | ( | struct Node ** | nodes, |
| int | num_nodes, | ||
| int | num_iterations | ||
| ) |
Loopy belief propagation.
| nodes | The set of nodes for which to run BP. Probably should be all nodes in the MRF. |
| num_nodes | The number of nodes. |
| num_iterations | Number of iterations for which to run loopy bp. If the graph is a tree, set to 3 for analytical results. |