Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IDependencyPruner.h
Go to the documentation of this file.
1#ifndef IDEPENDENCYMOUNTER_H
2#define IDEPENDENCYMOUNTER_H
3
58template <typename Type_T, typename Block_T, typename Id_T>
60public:
64 virtual ~IDependencyPruner() = default;
65
72 virtual void reattach_block(Type_T, const Block_T&) = 0;
73
83 virtual void detach_block(Type_T, const Block_T&) = 0;
84
92 virtual void reattach_parameter(Type_T, const Block_T&, const Id_T&) = 0;
93
104 virtual void detach_parameter(Type_T, const Block_T&, const Id_T&) = 0;
105};
106
107#endif // IDEPENDENCYMOUNTER_H
Port interface for pruning and restoring dependency links.
virtual void reattach_parameter(Type_T, const Block_T &, const Id_T &)=0
Reattaches a previously detached parameter.
virtual void detach_parameter(Type_T, const Block_T &, const Id_T &)=0
Detaches a parameter from its upstream dependency graph.
virtual void reattach_block(Type_T, const Block_T &)=0
Reattaches a previously detached block.
virtual void detach_block(Type_T, const Block_T &)=0
Detaches a block from its upstream dependency graph.
virtual ~IDependencyPruner()=default
Virtual destructor.