Stan  2.5.0
probability, sampling & optimization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG > Class Template Reference

#include <base_static_hmc.hpp>

Inheritance diagram for stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >:
stan::mcmc::base_hmc< M, P, H, I, BaseRNG > stan::mcmc::base_mcmc

Public Member Functions

 base_static_hmc (M &m, BaseRNG &rng, std::ostream *o, std::ostream *e)
 
 ~base_static_hmc ()
 
sample transition (sample &init_sample)
 
void write_sampler_param_names (std::ostream &o)
 
void write_sampler_params (std::ostream &o)
 
void get_sampler_param_names (std::vector< std::string > &names)
 
void get_sampler_params (std::vector< double > &values)
 
void set_nominal_stepsize_and_T (const double e, const double t)
 
void set_nominal_stepsize_and_L (const double e, const int l)
 
void set_T (const double t)
 
void set_nominal_stepsize (const double e)
 
double get_T ()
 
int get_L ()
 
- Public Member Functions inherited from stan::mcmc::base_hmc< M, P, H, I, BaseRNG >
 base_hmc (M &m, BaseRNG &rng, std::ostream *o, std::ostream *e)
 
void write_sampler_state (std::ostream *o)
 
void get_sampler_diagnostic_names (std::vector< std::string > &model_names, std::vector< std::string > &names)
 
void get_sampler_diagnostics (std::vector< double > &values)
 
void seed (const Eigen::VectorXd &q)
 
void init_stepsize ()
 
P & z ()
 
double get_nominal_stepsize ()
 
double get_current_stepsize ()
 
virtual void set_stepsize_jitter (const double j)
 
double get_stepsize_jitter ()
 
void sample_stepsize ()
 
- Public Member Functions inherited from stan::mcmc::base_mcmc
 base_mcmc (std::ostream *o, std::ostream *e)
 
virtual ~base_mcmc ()
 
std::string name ()
 

Protected Member Functions

void update_L_ ()
 

Protected Attributes

double T_
 
int L_
 
- Protected Attributes inherited from stan::mcmc::base_hmc< M, P, H, I, BaseRNG >
z_
 
I< H< M, BaseRNG >, P > integrator_
 
H< M, BaseRNG > hamiltonian_
 
BaseRNG & rand_int_
 
boost::uniform_01< BaseRNG & > rand_uniform_
 
double nom_epsilon_
 
double epsilon_
 
double epsilon_jitter_
 
- Protected Attributes inherited from stan::mcmc::base_mcmc
std::string name_
 
std::ostream * out_stream_
 
std::ostream * err_stream_
 

Detailed Description

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
class stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >

Definition at line 18 of file base_static_hmc.hpp.

Constructor & Destructor Documentation

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::base_static_hmc ( M &  m,
BaseRNG &  rng,
std::ostream *  o,
std::ostream *  e 
)
inline

Definition at line 22 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::~base_static_hmc ( )
inline

Definition at line 26 of file base_static_hmc.hpp.

Member Function Documentation

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
int stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::get_L ( )
inline

Definition at line 106 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::get_sampler_param_names ( std::vector< std::string > &  names)
inlinevirtual

Reimplemented from stan::mcmc::base_mcmc.

Definition at line 66 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::get_sampler_params ( std::vector< double > &  values)
inlinevirtual

Reimplemented from stan::mcmc::base_mcmc.

Definition at line 71 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
double stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::get_T ( )
inline

Definition at line 105 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::set_nominal_stepsize ( const double  e)
inlinevirtual

Reimplemented from stan::mcmc::base_hmc< M, P, H, I, BaseRNG >.

Definition at line 98 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::set_nominal_stepsize_and_L ( const double  e,
const int  l 
)
inline

Definition at line 84 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::set_nominal_stepsize_and_T ( const double  e,
const double  t 
)
inline

Definition at line 76 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::set_T ( const double  t)
inline

Definition at line 91 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
sample stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::transition ( sample init_sample)
inlinevirtual

Implements stan::mcmc::base_mcmc.

Definition at line 28 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::update_L_ ( )
inlineprotected

Definition at line 113 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::write_sampler_param_names ( std::ostream &  o)
inlinevirtual

Reimplemented from stan::mcmc::base_mcmc.

Definition at line 58 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
void stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::write_sampler_params ( std::ostream &  o)
inlinevirtual

Reimplemented from stan::mcmc::base_mcmc.

Definition at line 62 of file base_static_hmc.hpp.

Member Data Documentation

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
int stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::L_
protected

Definition at line 111 of file base_static_hmc.hpp.

template<class M, class P, template< class, class > class H, template< class, class > class I, class BaseRNG>
double stan::mcmc::base_static_hmc< M, P, H, I, BaseRNG >::T_
protected

Definition at line 110 of file base_static_hmc.hpp.


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

     [ Stan Home Page ] © 2011–2014, Stan Development Team.