Produce an assignment of values to variables constrained by the given factors.
Produce an assignment of values to variables constrained by the given factors.
The factors with which to constrain the variables.
The set of variables over which to compute a sample.
The semiring used in the factors.
The probability of reassigning a random variable in a factor instead of taking the greedy approach.
Maximum number of iterations to run before throwing an exception for taking too long.