ParameterDistributionLogNormal Class Reference

CPP API: mio::ParameterDistributionLogNormal Class Reference
mio::ParameterDistributionLogNormal Class Reference

#include <parameter_distributions.h>

Inheritance diagram for mio::ParameterDistributionLogNormal:
Collaboration diagram for mio::ParameterDistributionLogNormal:

Public Member Functions

ParameterDistributionclone () const override
 
ScalarType get_log_mean () const
 
ScalarType get_log_stddev () const
 
ScalarType get_rand_sample (abm::PersonalRandomNumberGenerator &rng) override
 
ScalarType get_rand_sample (RandomNumberGenerator &rng) override
 
 ParameterDistributionLogNormal (ScalarType log_mean, ScalarType log_stddev)
 
std::vector< ScalarTypeparams () const override
 
template<class RNG >
ScalarType sample (RNG &rng)
 
template<class IOContext >
void serialize (IOContext &io) const
 
template<class IOObject >
void serialize_elements (IOObject &obj) const
 
bool smaller_impl (const ParameterDistribution &other) const override
 
- Public Member Functions inherited from mio::Visitable< Derived, Base, Visitor, ConstVisitor >
void accept (ConstVisitor &visitor) const
 
void accept (Visitor &visitor)
 

Static Public Member Functions

template<class IOContext >
static IOResult< ParameterDistributionLogNormaldeserialize (IOContext &io)
 
template<class IOContext , class IOObject >
static IOResult< ParameterDistributionLogNormaldeserialize_elements (IOContext &io, IOObject &obj)
 

Private Attributes

LogNormalDistribution< ScalarType >::ParamType m_distribution
 
ScalarType m_log_mean
 
ScalarType m_log_stddev
 

Constructor & Destructor Documentation

◆ ParameterDistributionLogNormal()

mio::ParameterDistributionLogNormal::ParameterDistributionLogNormal ( ScalarType  log_mean,
ScalarType  log_stddev 
)
inline

Member Function Documentation

◆ clone()

ParameterDistribution* mio::ParameterDistributionLogNormal::clone ( ) const
inlineoverride

◆ deserialize()

template<class IOContext >
static IOResult<ParameterDistributionLogNormal> mio::ParameterDistributionLogNormal::deserialize ( IOContext &  io)
inlinestatic

◆ deserialize_elements()

template<class IOContext , class IOObject >
static IOResult<ParameterDistributionLogNormal> mio::ParameterDistributionLogNormal::deserialize_elements ( IOContext &  io,
IOObject &  obj 
)
inlinestatic

◆ get_log_mean()

ScalarType mio::ParameterDistributionLogNormal::get_log_mean ( ) const
inline

◆ get_log_stddev()

ScalarType mio::ParameterDistributionLogNormal::get_log_stddev ( ) const
inline

◆ get_rand_sample() [1/2]

ScalarType mio::ParameterDistributionLogNormal::get_rand_sample ( abm::PersonalRandomNumberGenerator rng)
inlineoverride

◆ get_rand_sample() [2/2]

ScalarType mio::ParameterDistributionLogNormal::get_rand_sample ( RandomNumberGenerator &  rng)
inlineoverride

◆ params()

std::vector<ScalarType> mio::ParameterDistributionLogNormal::params ( ) const
inlineoverride

◆ sample()

template<class RNG >
ScalarType mio::ParameterDistributionLogNormal::sample ( RNG &  rng)
inline

◆ serialize()

template<class IOContext >
void mio::ParameterDistributionLogNormal::serialize ( IOContext &  io) const
inline

◆ serialize_elements()

template<class IOObject >
void mio::ParameterDistributionLogNormal::serialize_elements ( IOObject &  obj) const
inline

◆ smaller_impl()

bool mio::ParameterDistributionLogNormal::smaller_impl ( const ParameterDistribution other) const
inlineoverride

Member Data Documentation

◆ m_distribution

LogNormalDistribution<ScalarType>::ParamType mio::ParameterDistributionLogNormal::m_distribution
private

◆ m_log_mean

ScalarType mio::ParameterDistributionLogNormal::m_log_mean
private

◆ m_log_stddev

ScalarType mio::ParameterDistributionLogNormal::m_log_stddev
private