|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Port interface for pruning and restoring dependency links. More...
#include <IDependencyPruner.h>
Public Member Functions | |
| virtual | ~IDependencyPruner ()=default |
| Virtual destructor. | |
| 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 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. | |
Port interface for pruning and restoring dependency links.
This interface is meant to be used by higher-level services that need to temporarily disable automatic dependency propagation, for example:
The exact semantics of detach / reattach are backend-dependent, but in the current HyperISO design they usually map to:
| Type_T | Parameter namespace/domain identifier. |
| Block_T | Block identifier. |
| Id_T | Parameter identifier inside a block. |
Definition at line 59 of file IDependencyPruner.h.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Detaches a block from its upstream dependency graph.
After detachment, the block typically keeps its current cached content but no longer reacts to source updates until reattached.
Implemented in DependencyPruner.
|
pure virtual |
Detaches a parameter from its upstream dependency graph.
After detachment, the parameter typically keeps its current cached value but no longer reacts to source updates until reattached.
| type | Parameter namespace/domain containing the parameter. |
| block_name | Block identifier. |
| id | Parameter identifier inside the block. |
Implemented in DependencyPruner.
|
pure virtual |
Reattaches a previously detached block.
Implemented in DependencyPruner.
|
pure virtual |
Reattaches a previously detached parameter.
| type | Parameter namespace/domain containing the parameter. |
| block_name | Block identifier. |
| id | Parameter identifier inside the block. |
Implemented in DependencyPruner.