|
Utopia 2
Framework for studying models of complex & adaptive systems.
|
A bundle wrapping a (iterative) function with metadata. More...
#include <func_bundle.hh>


Public Member Functions | |
| ParamFuncBundle (std::string name, Func func, std::string param_name, bool invoke_at_initialization=true, bool invoke_always=true, std::set< Time > times={}) | |
| ParamFuncBundle (std::string name, Func func, std::string param_name, std::tuple< bool, bool, std::set< Time > > invoke_times_tuple) | |
Public Member Functions inherited from Utopia::Models::Environment::FuncBundle::FuncBundle< Func, Time > | |
| FuncBundle (std::string name, Func func, bool invoke_at_initialization=true, bool invoke_always=true, std::set< Time > times={}) | |
| When to invoke. | |
Public Attributes | |
| std::string | param_name |
| The name of the parameter to which to apply the function. | |
Public Attributes inherited from Utopia::Models::Environment::FuncBundle::FuncBundle< Func, Time > | |
| std::string | name |
| Func | func |
| The name of the function. | |
| bool | invoke_at_initialization |
| The function. | |
| bool | invoke_always |
| Whether to invoke at initialization. | |
| std::set< Time > | times |
| Whether to invoke in every timestep. | |
A bundle wrapping a (iterative) function with metadata.
This gathers a function alongside some metadata into a custom construct. The function is ment to be applied within an iterative model.
|
inline |
|
inline |
| std::string Utopia::Models::Environment::FuncBundle::ParamFuncBundle< Func, Time >::param_name |
The name of the parameter to which to apply the function.