1#ifndef IPARAM_OPTIMIZER_H
2#define IPARAM_OPTIMIZER_H
84 virtual void commit(
bool coalesce =
true) = 0;
Defines the Parameter class used to store individual physical/model parameters.
Block identifier with alias support.
Interface for batched parameter modifications.
virtual void commit(bool coalesce=true)=0
Commit all staged operations.
virtual void remove(const BlockName &block, const LhaID &id)=0
Stage the removal of a parameter.
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 clear()=0
Clears all currently staged operations without applying them.
virtual ~IParamOptimizer()=default
Virtual destructor for interface.
Represents an identifier of a LHA element, possibly containing several sub-ids.