|
rad
1.5.2
Radial Attention Model
|
Objective function part structure. More...
#include <rad_types.h>
Data Fields | |
| double(* | fnc )(const objvar_t *v) |
| Objective function part callback. More... | |
| const char * | str |
| Objective function part definition. More... | |
Objective function part structure.
Objective function part type.
Contains a callback function that is used in the evaluation of the model's objective. The expected parts are the temporal utility, the attentional costs, the radius dynamics and the wealth dynamics. In addition it offers a string placeholder for storing the content of the definition of the function. The intended use is to write the content of the callback as a macro and the use CCM_STRINGIFY to get a string it and store it in the placeholder. See also rad_specs.h
| double(* objpart_t::fnc) (const objvar_t *v) |
Objective function part callback.
A function used in the evaluation of the model's objective.
| v | Input parameters, state variables and controls |
| const char* objpart_t::str |
Objective function part definition.
A string of the content of the part' definition
1.8.13