public class RollBackToCachedValuesOnRejection extends java.lang.Object implements ProposalRejectionStrategy
LambdaSection
s
When a proposal is rejected, apply the snapshot to reset the Bayes Net to the old values.
This is more performant than RollbackAndCascadeOnRejection
Constructor and Description |
---|
RollBackToCachedValuesOnRejection() |
Modifier and Type | Method and Description |
---|---|
void |
onProposalCreated(Proposal proposal) |
void |
onProposalRejected(Proposal proposal) |
public void onProposalCreated(Proposal proposal)
onProposalCreated
in interface ProposalListener
public void onProposalRejected(Proposal proposal)
onProposalRejected
in interface ProposalListener