hops
Public Member Functions | List of all members
hops::DNest4Adapter< Environment > Class Template Reference

#include <DNest4Adapter.hpp>

Collaboration diagram for hops::DNest4Adapter< Environment >:
Collaboration graph

Public Member Functions

 DNest4Adapter ()
 
void from_prior (DNest4::RNG &rng)
 
double perturb (DNest4::RNG &rng)
 
double log_likelihood () const
 
void print (std::ostream &out) const
 
std::string description () const
 

Detailed Description

template<typename Environment>
class hops::DNest4Adapter< Environment >

@Brief An adapter that allows the usage of hops sampling algorithms and hops compatible models with DNest4

Constructor & Destructor Documentation

◆ DNest4Adapter()

template<typename Environment >
hops::DNest4Adapter< Environment >::DNest4Adapter ( )
inline

Member Function Documentation

◆ description()

template<typename ModelImplType >
std::string hops::DNest4Adapter< ModelImplType >::description

@Brief returns string with column names in csv format

Returns

◆ from_prior()

template<typename ModelImplType >
void hops::DNest4Adapter< ModelImplType >::from_prior ( DNest4::RNG &  rng)

@Brief generates a state from the prior for DNest4

Parameters
rng

◆ log_likelihood()

template<typename ModelImplType >
double hops::DNest4Adapter< ModelImplType >::log_likelihood

◆ perturb()

template<typename ModelImplType >
double hops::DNest4Adapter< ModelImplType >::perturb ( DNest4::RNG &  rng)

@ Metropolis-Hastings m_proposal for DNest4

Parameters
rng
Returns

◆ print()

template<typename ModelImplType >
void hops::DNest4Adapter< ModelImplType >::print ( std::ostream &  out) const

@Brief Prints current state to stream

Parameters
out

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