Loading [MathJax]/extensions/tex2jax.js
mrf  v0.2.0
All Data Structures Files Functions Pages

◆ set_evidence()

void set_evidence ( struct Node n,
int  value 
)

Condition the variable to be equal to the value.

Note that this modifies all factors associated with the node in place.

Parameters
nthe variable to condition
valuevariable set equal to this value.