class Gambit::Priors::MultiPriors
A parameter that is fixed to a different parameter.
#include <fixed_same_as.hpp>
Inherits from Gambit::Priors::BasePrior
Public Functions
Name | |
---|---|
MultiPriors(const std::vector< std::string > & param, const Options & options) | |
MultiPriors(std::string name_in, std::unordered_map< std::string, std::pair< double, double > > & map_in) | |
virtual std::vector< std::string > | getShownParameters() const override |
virtual void | transform(hyper_cube_ref< double > unit, std::unordered_map< std::string, double > & physical) const override Transform from unit hypercube to physical parameter. |
virtual void | inverse_transform(const std::unordered_map< std::string, double > & physical, hyper_cube_ref< double > unit) const override Transform from physical parameter to unit hypercube. |
virtual double | log_prior_density(const std::unordered_map< std::string, double > & ) const override Log of prior density. |
Additional inherited members
Public Functions inherited from Gambit::Priors::BasePrior
Name | |
---|---|
virtual | ~BasePrior() =default |
BasePrior() | |
BasePrior(const int param_size) | |
BasePrior(const std::vector< std::string > & param_names, const int param_size =0) | |
BasePrior(const std::string & param_name, const int param_size =0) | |
unsigned int | size() const |
void | setSize(const unsigned int size) |
unsigned int & | sizeRef() |
std::vector< std::string > | getParameters() const |
Protected Attributes inherited from Gambit::Priors::BasePrior
Name | |
---|---|
std::vector< std::string > | param_names |
Public Functions Documentation
function MultiPriors
inline MultiPriors(
const std::vector< std::string > & param,
const Options & options
)
function MultiPriors
inline MultiPriors(
std::string name_in,
std::unordered_map< std::string, std::pair< double, double > > & map_in
)
function getShownParameters
inline virtual std::vector< std::string > getShownParameters() const override
Reimplements: Gambit::Priors::BasePrior::getShownParameters
function transform
inline virtual void transform(
hyper_cube_ref< double > unit,
std::unordered_map< std::string, double > & physical
) const override
Transform from unit hypercube to physical parameter.
Reimplements: Gambit::Priors::BasePrior::transform
function inverse_transform
inline virtual void inverse_transform(
const std::unordered_map< std::string, double > & physical,
hyper_cube_ref< double > unit
) const override
Transform from physical parameter to unit hypercube.
Reimplements: Gambit::Priors::BasePrior::inverse_transform
function log_prior_density
inline virtual double log_prior_density(
const std::unordered_map< std::string, double > &
) const override
Log of prior density.
Reimplements: Gambit::Priors::BasePrior::log_prior_density
Updated on 2024-07-18 at 13:53:32 +0000