public interface ProposalDistribution
Modifier and Type | Method and Description |
---|---|
Proposal |
getProposal(java.util.Set<Vertex> vertices,
KeanuRandom random) |
<T> double |
logProb(Probabilistic<T> vertex,
T ofValue,
T givenValue) |
default double |
logProbAtFromGivenTo(Proposal proposal)
Represents q(x|x') where q is the proposal distribution,
x' is the proposal to value and x is the proposal from value.
|
default double |
logProbAtToGivenFrom(Proposal proposal)
Represents q(x'|x) where q is the proposal distribution,
x' is the Proposal To value and x is the Proposal From value.
|
static ProposalDistribution |
usePrior() |
static ProposalDistribution usePrior()
Proposal getProposal(java.util.Set<Vertex> vertices, KeanuRandom random)
<T> double logProb(Probabilistic<T> vertex, T ofValue, T givenValue)
default double logProbAtFromGivenTo(Proposal proposal)
proposal
- A proposal value for each vertex that contains
a from and a to value.default double logProbAtToGivenFrom(Proposal proposal)
proposal
- A proposal value for each vertex that contains
a from and a to value.