|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Sampler
Interface for methods from sampling the distribution given by a graphical model. Created: Mar 28, 2005
| Method Summary | |
|---|---|
Assignment |
sample(FactorGraph mdl,
int N)
Samples from the distribution of a given undirected model. |
void |
setRandom(Randoms r)
Sets the random seed used by this sampler. |
| Method Detail |
|---|
Assignment sample(FactorGraph mdl,
int N)
mdl - Model to sample fromN - Number of samples to generate
void setRandom(Randoms r)
r - Random object to be used by this sampler.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||