public class MetropolisHastings
extends java.lang.Object
Constructor and Description |
---|
MetropolisHastings() |
Modifier and Type | Method and Description |
---|---|
static NetworkSamples |
getPosteriorSamples(BayesNet bayesNet,
java.util.List<? extends Vertex<?>> fromVertices,
int sampleCount) |
static NetworkSamples |
getPosteriorSamples(BayesNet bayesNet,
java.util.List<? extends Vertex<?>> fromVertices,
int sampleCount,
java.util.Random random) |
public static NetworkSamples getPosteriorSamples(BayesNet bayesNet, java.util.List<? extends Vertex<?>> fromVertices, int sampleCount)
public static NetworkSamples getPosteriorSamples(BayesNet bayesNet, java.util.List<? extends Vertex<?>> fromVertices, int sampleCount, java.util.Random random)
bayesNet
- fromVertices
- the vertices to include in the returned samplessampleCount
- random
-