Statistics-layer adapter for optimized batched parameter updates.
Block identifier with alias support.
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.