Utopia
2
Framework for studying models of complex & adaptive systems.
|
Typedefs | |
using | Config = DataIO::Config |
Configuration node type alias. More... | |
Functions | |
template<typename EnvModel , class DistType , class EnvStateFunc = typename EnvModel::EnvStateFunc> | |
EnvStateFunc | build_rng_env_state_func (EnvModel &model, DistType &&dist, const std::string ¶m_name, const ValMode &mode) |
Create a rule function that uses a random number distribution. More... | |
template<typename EnvModel , class EnvStateFunc = typename EnvModel::EnvStateFunc> | |
std::pair< EnvStateFunc, Update > | esf_noise (const EnvModel &model, const std::string ¶m_name, const Config &cfg) |
Creates a rule function for noisy parameter values. More... | |
template<typename EnvModel , typename Extent , class EnvStateFunc = typename EnvModel::EnvStateFunc> | |
std::pair< EnvStateFunc, Update > | esf_slope (const EnvModel &, const std::string ¶m_name, const Config &cfg, const Extent &extent) |
Creates a rule function for spatially linearly parameter values. More... | |
template<typename EnvModel , class EnvStateFunc = typename EnvModel::EnvStateFunc> | |
std::pair< EnvStateFunc, Update > | esf_steps (const EnvModel &, const std::string ¶m_name, const Config &cfg) |
Creates a rule function for spatial steps in the parameter values. More... | |
template<typename EnvModel , class EnvStateFunc = typename EnvModel::EnvStateFunc> | |
std::pair< EnvStateFunc, Update > | esf_uniform (const EnvModel &, const std::string ¶m_name, const Config &cfg) |
Creates a rule function for spatially uniform parameter values. More... | |
Configuration node type alias.
EnvStateFunc Utopia::Models::Environment::StateFunctionCollection::build_rng_env_state_func | ( | EnvModel & | model, |
DistType && | dist, | ||
const std::string & | param_name, | ||
const ValMode & | mode | ||
) |
Create a rule function that uses a random number distribution.
This constructs a mutable EnvStateFunc
lambda, moving the dist
into the capture.