mrf  v0.2.0

◆ 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.