hops
Public Types | Public Member Functions | List of all members
hops::DikinProposal< MatrixType, VectorType > Class Template Reference

#include <DikinProposal.hpp>

Collaboration diagram for hops::DikinProposal< MatrixType, VectorType >:
Collaboration graph

Public Types

using StateType = VectorType
 

Public Member Functions

 DikinProposal (MatrixType A, VectorType b, VectorType currentState)
 Constructs Gaussian Dikin m_proposal mechanism on polytope defined as Ax<b. More...
 
void propose (RandomNumberGenerator &randomNumberGenerator)
 
void acceptProposal ()
 
MatrixType::Scalar computeLogAcceptanceProbability ()
 
StateType getState () const
 
void setState (StateType newState)
 
StateType getProposal () const
 
MatrixType::Scalar getStepSize () const
 
void setStepSize (typename MatrixType::Scalar newStepSize)
 
std::string getName ()
 

Member Typedef Documentation

◆ StateType

template<typename MatrixType , typename VectorType >
using hops::DikinProposal< MatrixType, VectorType >::StateType = VectorType

Constructor & Destructor Documentation

◆ DikinProposal()

template<typename MatrixType , typename VectorType >
hops::DikinProposal< MatrixType, VectorType >::DikinProposal ( MatrixType  A,
VectorType  b,
VectorType  currentState 
)

Constructs Gaussian Dikin m_proposal mechanism on polytope defined as Ax<b.

Parameters
A
b
currentState

Member Function Documentation

◆ acceptProposal()

template<typename MatrixType , typename VectorType >
void hops::DikinProposal< MatrixType, VectorType >::acceptProposal

◆ computeLogAcceptanceProbability()

template<typename MatrixType , typename VectorType >
MatrixType::Scalar hops::DikinProposal< MatrixType, VectorType >::computeLogAcceptanceProbability

◆ getName()

template<typename MatrixType , typename VectorType >
std::string hops::DikinProposal< MatrixType, VectorType >::getName

◆ getProposal()

template<typename MatrixType , typename VectorType >
DikinProposal< MatrixType, VectorType >::StateType hops::DikinProposal< MatrixType, VectorType >::getProposal

◆ getState()

template<typename MatrixType , typename VectorType >
DikinProposal< MatrixType, VectorType >::StateType hops::DikinProposal< MatrixType, VectorType >::getState

◆ getStepSize()

template<typename MatrixType , typename VectorType >
MatrixType::Scalar hops::DikinProposal< MatrixType, VectorType >::getStepSize

◆ propose()

template<typename MatrixType , typename VectorType >
void hops::DikinProposal< MatrixType, VectorType >::propose ( RandomNumberGenerator randomNumberGenerator)

◆ setState()

template<typename MatrixType , typename VectorType >
void hops::DikinProposal< MatrixType, VectorType >::setState ( StateType  newState)

◆ setStepSize()

template<typename MatrixType , typename VectorType >
void hops::DikinProposal< MatrixType, VectorType >::setStepSize ( typename MatrixType::Scalar  newStepSize)

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