public class RejectionSampler
extends java.lang.Object
Constructor and Description |
---|
RejectionSampler() |
Modifier and Type | Method and Description |
---|---|
static double |
getPosteriorProbability(java.util.List<? extends Vertex<?>> latentVertices,
java.util.List<Vertex<?>> observedVertices,
java.util.function.Supplier<java.lang.Boolean> isSuccess,
int sampleCount) |
static NetworkSamples |
getPosteriorSamples(BayesNet bayesNet,
java.util.List<Vertex<?>> fromVertices,
int sampleCount) |
public static double getPosteriorProbability(java.util.List<? extends Vertex<?>> latentVertices, java.util.List<Vertex<?>> observedVertices, java.util.function.Supplier<java.lang.Boolean> isSuccess, int sampleCount)
public static NetworkSamples getPosteriorSamples(BayesNet bayesNet, java.util.List<Vertex<?>> fromVertices, int sampleCount)