4 this->p_set.
mutate(pid, value);
8 this->p_shift.
mutate(pid, value);
High-level mutator for parameters used by the observable layer.
ParameterMode
Defines the modes in which a parameter can operate.
void change_mode(const ParamId &, ParameterMode) override
Changes the “mode” of a parameter (e.g. fixed, nuisance, scan...).
void set(const ParamId &, scalar_t) override
Assigns an absolute value to a parameter.
void shift(const ParamId &, scalar_t) override
Shifts a parameter value (relative update).
void mutate(const ParamId &pid, scalar_t value) override
Sets the value of a parameter.
void mutate(const ParamId &pid, scalar_t value) override
Shifts the value of a parameter by a given amount.
void change_mode(const ParamId &pid, ParameterMode mode) override
Changes the mode of a parameter (e.g., from FIXED to SHIFTABLE).
Composite identifier for a single parameter.