Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DependencyPruner.h
Go to the documentation of this file.
1#ifndef DEPENDENCYPRUNER_H
2#define DEPENDENCYPRUNER_H
3
4#include "IDependencyPruner.h"
5#include "BlockName.h"
6#include "Include.h"
7#include "Parameters.h"
8
51class DependencyPruner : public IDependencyPruner<ParameterType, BlockName, LhaID> {
52public:
64 void reattach_block(ParameterType tp, const BlockName& block_name) override;
65
77 void detach_block(ParameterType tp, const BlockName& block_name) override;
78
91 void reattach_parameter(ParameterType tp, const BlockName& block_name, const LhaID& id) override;
92
105 void detach_parameter(ParameterType tp, const BlockName& block_name, const LhaID& id) override;
106};
107
108#endif // DEPENDENCYPRUNER_H
Representation of SLHA / LHA block names with support for aliases.
ParameterType
Interface for detaching and reattaching parameter/block dependencies.
Model-dependent parameter repository and initialization strategies.
Block identifier with alias support.
Definition BlockName.h:59
Concrete dependency-pruning adapter backed by Parameters.
void reattach_parameter(ParameterType tp, const BlockName &block_name, const LhaID &id) override
Reattaches a previously detached dependent parameter.
void detach_block(ParameterType tp, const BlockName &block_name) override
Detaches a dependent block from its upstream dependencies.
void detach_parameter(ParameterType tp, const BlockName &block_name, const LhaID &id) override
Detaches a dependent parameter from its upstream dependencies.
void reattach_block(ParameterType tp, const BlockName &block_name) override
Reattaches a previously detached dependent block.
Port interface for pruning and restoring dependency links.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56