public interface ProposalDistribution
Modifier and Type | Method and Description |
---|---|
Proposal |
getProposal(java.util.Set<? extends Variable> variables,
KeanuRandom random) |
<T> double |
logProb(Probabilistic<T> variable,
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.
|
void |
onProposalRejected() |
Proposal getProposal(java.util.Set<? extends Variable> variables, KeanuRandom random)
<T> double logProb(Probabilistic<T> variable, T ofValue, T givenValue)
default double logProbAtFromGivenTo(Proposal proposal)
proposal
- A proposal value for each variable that contains
a from and a to value.default double logProbAtToGivenFrom(Proposal proposal)
proposal
- A proposal value for each variable that contains
a from and a to value.void onProposalRejected()