|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Interface for batched parameter modifications. More...
#include <IParamOptimizer.h>

Public Member Functions | |
| virtual | ~IParamOptimizer ()=default |
| Virtual destructor for interface. | |
| virtual void | set_value (const BlockName &block, const LhaID &id, scalar_t v)=0 |
| Stage a change of central value for a parameter. | |
| virtual void | set_param (const BlockName &block, const LhaID &id, std::shared_ptr< Parameter > p)=0 |
| Stage a full replacement of a parameter object. | |
| virtual void | remove (const BlockName &block, const LhaID &id)=0 |
| Stage the removal of a parameter. | |
| virtual void | commit (bool coalesce=true)=0 |
| Commit all staged operations. | |
| virtual void | clear ()=0 |
| Clears all currently staged operations without applying them. | |
Interface for batched parameter modifications.
IParamOptimizer defines an abstract API for:
Definition at line 42 of file IParamOptimizer.h.
|
virtualdefault |
Virtual destructor for interface.
|
pure virtual |
Clears all currently staged operations without applying them.
Implemented in ParamOptimizerAdapter.
|
pure virtual |
Commit all staged operations.
Implementations may:
| coalesce | If true, coalesce multiple operations on the same parameter. |
Implemented in ParamOptimizerAdapter.
Stage the removal of a parameter.
Implemented in ParamOptimizerAdapter.
|
pure virtual |
Stage a full replacement of a parameter object.
| block | Block name where the parameter resides. |
| id | LhaID of the parameter. |
| p | Shared pointer to the new Parameter. |
Implemented in ParamOptimizerAdapter.
|
pure virtual |
Stage a change of central value for a parameter.
| block | Block name where the parameter resides. |
| id | LhaID of the parameter. |
| v | New value to set. |
Implemented in ParamOptimizerAdapter.