hops
Public Member Functions | List of all members
hops::CSmMALAProposal< ModelType, InternalMatrixType > Class Template Reference

#include <CSmMALAProposal.hpp>

Inheritance diagram for hops::CSmMALAProposal< ModelType, InternalMatrixType >:
Inheritance graph
Collaboration diagram for hops::CSmMALAProposal< ModelType, InternalMatrixType >:
Collaboration graph

Public Member Functions

 CSmMALAProposal (ModelType model, InternalMatrixType A, VectorType b, const VectorType &currentState)
 Constructs m_proposal mechanism on polytope defined as Ax<b. More...
 
void propose (RandomNumberGenerator &randomNumberGenerator)
 
void acceptProposal ()
 
MatrixType::Scalar computeLogAcceptanceProbability ()
 
VectorType getState () const
 
void setState (VectorType newState)
 
VectorType getProposal () const
 
MatrixType::Scalar getStepSize () const
 
void setStepSize (typename MatrixType::Scalar newStepSize)
 
void setFisherWeight (typename MatrixType::Scalar newFisherWeight)
 
double getNegativeLogLikelihoodOfCurrentState ()
 
std::string getName ()
 

Constructor & Destructor Documentation

◆ CSmMALAProposal()

template<typename ModelType , typename InternalMatrixType >
hops::CSmMALAProposal< ModelType, InternalMatrixType >::CSmMALAProposal ( ModelType  model,
InternalMatrixType  A,
hops::VectorType  b,
const VectorType currentState 
)

Constructs m_proposal mechanism on polytope defined as Ax<b.

Parameters
A
b
currentState

Member Function Documentation

◆ acceptProposal()

template<typename ModelType , typename InternalMatrixType >
void hops::CSmMALAProposal< ModelType, InternalMatrixType >::acceptProposal

◆ computeLogAcceptanceProbability()

template<typename ModelType , typename InternalMatrixType >
MatrixType::Scalar hops::CSmMALAProposal< ModelType, InternalMatrixType >::computeLogAcceptanceProbability

◆ getName()

template<typename ModelType , typename InternalMatrixType >
std::string hops::CSmMALAProposal< ModelType, InternalMatrixType >::getName

◆ getNegativeLogLikelihoodOfCurrentState()

template<typename ModelType , typename InternalMatrixType >
double hops::CSmMALAProposal< ModelType, InternalMatrixType >::getNegativeLogLikelihoodOfCurrentState

◆ getProposal()

template<typename ModelType , typename InternalMatrixType >
VectorType hops::CSmMALAProposal< ModelType, InternalMatrixType >::getProposal

◆ getState()

template<typename ModelType , typename InternalMatrixType >
VectorType hops::CSmMALAProposal< ModelType, InternalMatrixType >::getState

◆ getStepSize()

template<typename ModelType , typename InternalMatrixType >
MatrixType::Scalar hops::CSmMALAProposal< ModelType, InternalMatrixType >::getStepSize

◆ propose()

template<typename ModelType , typename InternalMatrixType >
void hops::CSmMALAProposal< ModelType, InternalMatrixType >::propose ( RandomNumberGenerator randomNumberGenerator)

◆ setFisherWeight()

template<typename ModelType , typename InternalMatrixType >
void hops::CSmMALAProposal< ModelType, InternalMatrixType >::setFisherWeight ( typename MatrixType::Scalar  newFisherWeight)

◆ setState()

template<typename ModelType , typename InternalMatrixType >
void hops::CSmMALAProposal< ModelType, InternalMatrixType >::setState ( VectorType  newState)

◆ setStepSize()

template<typename ModelType , typename InternalMatrixType >
void hops::CSmMALAProposal< ModelType, InternalMatrixType >::setStepSize ( typename MatrixType::Scalar  newStepSize)

The documentation for this class was generated from the following file: