Utopia 2
Framework for studying models of complex & adaptive systems.
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
env_param_func_collection.hh File Reference
#include <math.h>
#include "tools.hh"
Include dependency graph for env_param_func_collection.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Utopia
 
namespace  Utopia::Models
 
namespace  Utopia::Models::Environment
 
namespace  Utopia::Models::Environment::ParameterFunctionCollection
 

Typedefs

using Utopia::Models::Environment::ParameterFunctionCollection::Config = DataIO::Config
 Configuration node type alias.
 

Functions

template<typename EnvModel , class DistType , class EnvParamFunc = typename EnvModel::EnvParamFunc>
EnvParamFunc Utopia::Models::Environment::ParameterFunctionCollection::build_rng_env_param_func (const EnvModel &model, DistType &&dist, const std::string &param_name, const ValMode &mode)
 Create a rule function that uses a random number distribution.
 
template<typename EnvModel , class EnvParamFunc = typename EnvModel::EnvParamFunc>
EnvParamFunc Utopia::Models::Environment::ParameterFunctionCollection::epf_increment (const EnvModel &model, const std::string param_name, const Config &cfg)
 Creates a rule function for incrementing parameter values.
 
template<typename EnvModel , class EnvParamFunc = typename EnvModel::EnvParamFunc>
EnvParamFunc Utopia::Models::Environment::ParameterFunctionCollection::epf_random (const EnvModel &model, const std::string &param_name, const Config &cfg)
 Creates a rule function for random parameter values.
 
template<typename EnvModel , class EnvParamFunc = typename EnvModel::EnvParamFunc>
EnvParamFunc Utopia::Models::Environment::ParameterFunctionCollection::epf_rectangular (const EnvModel &model, const Config &cfg)
 Creates a rule function for rectangular function like parameter values.
 
template<typename EnvModel , class EnvParamFunc = typename EnvModel::EnvParamFunc>
EnvParamFunc Utopia::Models::Environment::ParameterFunctionCollection::epf_set (const EnvModel &, const Config &cfg)
 Creates a rule function for setting a parameter value.
 
template<typename EnvModel , class EnvParamFunc = typename EnvModel::EnvParamFunc>
EnvParamFunc Utopia::Models::Environment::ParameterFunctionCollection::epf_sinusoidal (const EnvModel &model, const Config &cfg)
 Creates a rule function for sinusoidal parameter values.