BioDynaMo
v1.05.120-25dc9790
|
Go to the documentation of this file.
15 #ifndef CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_LOG_RANGE_PARAM_H_
16 #define CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_LOG_RANGE_PARAM_H_
41 "' with a lower_bound value higher than upper_bound: ",
54 : std::pow(
base, exp);
76 #endif // CORE_MULTI_SIMULATION_OPTIMIZATION_PARAM_TYPE_LOG_RANGE_PARAM_H_
OptimizationParamType * GetCopy() const override
An interface for creating different types of optimization parameters.
BDM_CLASS_DEF_OVERRIDE(LogRangeParam, 1)
A uniform range of logarithmically scaled values (e.g. 1, 10, 100, 1000)
static void Fatal(const std::string &location, const Args &... parts)
Prints fatal error message.
void Validate() const override
LogRangeParam(const std::string &n, real_t base, real_t min, real_t max, real_t stride)
uint32_t GetNumElements() const override
real_t GetValue(int n) const override