Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
StatParamOptimizerProxy.h
Go to the documentation of this file.
1#ifndef STAT_PARAM_OPTIMIZER_PROXY_H
2#define STAT_PARAM_OPTIMIZER_PROXY_H
3
6
44public:
58
62 void set_value(const BlockName& block, const LhaID& id, scalar_t v) override;
63
67 void set_param(const BlockName& block, const LhaID& id, std::shared_ptr<Parameter> p) override;
68
72 void remove(const BlockName& block, const LhaID& id) override;
73
77 void commit(bool coalesce = true) override;
78
82 void clear() override;
83
84private:
86
87};
88
89#endif
Statistical-layer port for batched parameter edits and optimized commits.
Adapter between IParamOptimizer and ParamOptimizer.
Block identifier with alias support.
Definition BlockName.h:59
Abstract interface for batched parameter mutation in the statistics layer.
Adapter that builds a ParamOptimizer from Parameters instances.
Concrete statistics-layer proxy for staged parameter optimization updates.
void clear() override
Clears all staged operations without applying them.
void set_param(const BlockName &block, const LhaID &id, std::shared_ptr< Parameter > p) override
Stages a full parameter replacement/update.
void remove(const BlockName &block, const LhaID &id) override
Stages the removal of a parameter.
void commit(bool coalesce=true) override
Applies all staged operations.
void set_value(const BlockName &block, const LhaID &id, scalar_t v) override
Stages a scalar value update for a parameter.
StatParamOptimizerProxy()
Constructs the optimizer proxy.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56