Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
StatParamOptimizerProxy.cpp
Go to the documentation of this file.
2
15
20 poa.set_value(block, id, v);
21}
22
26void StatParamOptimizerProxy::set_param(const BlockName& block, const LhaID& id, std::shared_ptr<Parameter> p) {
27 poa.set_param(block,id, p);
28}
29
33void StatParamOptimizerProxy::remove(const BlockName& block, const LhaID& id) {
34 poa.remove(block, id);
35}
36
41 poa.commit(coalesce);
42}
43
Statistics-layer adapter for optimized batched parameter updates.
Block identifier with alias support.
Definition BlockName.h:59
void set_value(const BlockName &block, const LhaID &id, scalar_t v) override
Stage a change of central value for a parameter.
void set_param(const BlockName &block, const LhaID &id, std::shared_ptr< Parameter > p) override
Stage a full replacement of a parameter object.
void commit(bool coalesce=true) override
Commit all staged operations.
void remove(const BlockName &block, const LhaID &id) override
Stage the removal of a parameter.
void clear() override
Clears all currently staged operations without applying them.
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