|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract interface for batched parameter mutation in the statistics layer. More...
#include <IStatParamOptimizerProxy.h>

Public Member Functions | |
| virtual | ~IStatParamOptimizerProxy ()=default |
| Virtual destructor. | |
| virtual void | set_value (const BlockName &block, const LhaID &id, scalar_t v)=0 |
| Stages a scalar value update for a parameter. | |
| virtual void | set_param (const BlockName &block, const LhaID &id, std::shared_ptr< Parameter > p)=0 |
| Stages a full parameter replacement/update. | |
| virtual void | remove (const BlockName &block, const LhaID &id)=0 |
| Stages the removal of a parameter. | |
| virtual void | commit (bool coalesce=true)=0 |
| Applies all staged operations. | |
| virtual void | clear ()=0 |
| Clears all staged operations without applying them. | |
Abstract interface for batched parameter mutation in the statistics layer.
This interface is intentionally minimal and focuses on staging operations over parameters identified by:
Changes are not required to take effect immediately: implementations may defer them until commit() is called.
Definition at line 48 of file IStatParamOptimizerProxy.h.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Clears all staged operations without applying them.
Implemented in StatParamOptimizerProxy.
|
pure virtual |
Applies all staged operations.
Implementations may use coalesce to merge or compact multiple pending edits before applying them. The exact coalescing behavior is adapter-defined.
| coalesce | If true, allows the implementation to merge/reduce pending operations. |
Implemented in StatParamOptimizerProxy.
|
pure virtual |
Stages the removal of a parameter.
The parameter identified by (block, id) will be removed on the next commit().
| block | Block containing the parameter. |
| id | LHA-like identifier of the parameter to remove. |
Implemented in StatParamOptimizerProxy.
|
pure virtual |
Stages a full parameter replacement/update.
The parameter identified by (block, id) will later be updated from the provided Parameter object when commit() is called.
| block | Block containing the parameter. |
| id | LHA-like identifier inside the block. |
| p | Shared pointer to the parameter payload to apply. |
Implemented in StatParamOptimizerProxy.
|
pure virtual |
Stages a scalar value update for a parameter.
The parameter identified by (block, id) will later be assigned the value v when commit() is called.
| block | Block containing the parameter. |
| id | LHA-like identifier inside the block. |
| v | New scalar value to assign. |
Implemented in StatParamOptimizerProxy.