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

#include <CoordinateHitAndRunProposal.hpp>

Collaboration diagram for hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >:
Collaboration graph

Public Types

using StateType = VectorType
 

Public Member Functions

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

Member Typedef Documentation

◆ StateType

template<typename MatrixType , typename VectorType , typename ChordStepDistribution = UniformStepDistribution<typename MatrixType::Scalar>>
using hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::StateType = VectorType

Constructor & Destructor Documentation

◆ CoordinateHitAndRunProposal()

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

Constructs Coordinate Hit and Run m_proposal mechanism on polytope defined as Ax<b.

Parameters
A
b
currentState

Member Function Documentation

◆ acceptProposal()

template<typename MatrixType , typename VectorType , typename ChordStepDistribution >
void hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::acceptProposal

◆ computeLogAcceptanceProbability()

template<typename MatrixType , typename VectorType , typename ChordStepDistribution = UniformStepDistribution<typename MatrixType::Scalar>>
MatrixType::Scalar hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::computeLogAcceptanceProbability ( )
inline

◆ getName()

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

◆ getProposal()

template<typename MatrixType , typename VectorType , typename ChordStepDistribution >
CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::StateType hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::getProposal

◆ getState()

template<typename MatrixType , typename VectorType , typename ChordStepDistribution >
CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::StateType hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::getState

◆ getStepSize()

template<typename MatrixType , typename VectorType , typename ChordStepDistribution >
MatrixType::Scalar hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::getStepSize

◆ propose()

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

◆ setState()

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

◆ setStepSize()

template<typename MatrixType , typename VectorType , typename ChordStepDistribution >
void hops::CoordinateHitAndRunProposal< MatrixType, VectorType, ChordStepDistribution >::setStepSize ( typename MatrixType::Scalar  stepSize)

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