hops
|
ModelMixin Mixin to add model likelihood to computeLogAcceptanceRate(). More...
#include <ModelMixin.hpp>
Public Member Functions | |
ModelMixin (const MarkovChainProposer &markovChainProposer, const ModelType &model) | |
void | acceptProposal () |
double | computeLogAcceptanceProbability () |
double | getNegativeLogLikelihoodOfCurrentState () |
ModelMixin Mixin to add model likelihood to computeLogAcceptanceRate().
Useful for MarkovChainProposer classes, that do not already contain the model.
MarkovChainProposer | |
ModelImpl |
|
inline |
void hops::ModelMixin< MarkovChainProposer, ModelType >::acceptProposal |
double hops::ModelMixin< MarkovChainProposer, ModelType >::computeLogAcceptanceProbability |
double hops::ModelMixin< MarkovChainProposer, ModelType >::getNegativeLogLikelihoodOfCurrentState |