Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IDependencyPruner< Type_T, Block_T, Id_T > Class Template Referenceabstract

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.
 

Detailed Description

template<typename Type_T, typename Block_T, typename Id_T>
class IDependencyPruner< Type_T, Block_T, Id_T >

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:

  • batch updates,
  • silent mutations,
  • optimization / fitting workflows,
  • staged recomputation.

The exact semantics of detach / reattach are backend-dependent, but in the current HyperISO design they usually map to:

Template Parameters
Type_TParameter namespace/domain identifier.
Block_TBlock identifier.
Id_TParameter identifier inside a block.

Definition at line 59 of file IDependencyPruner.h.

Constructor & Destructor Documentation

◆ ~IDependencyPruner()

template<typename Type_T , typename Block_T , typename Id_T >
virtual IDependencyPruner< Type_T, Block_T, Id_T >::~IDependencyPruner ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ detach_block()

template<typename Type_T , typename Block_T , typename Id_T >
virtual void IDependencyPruner< Type_T, Block_T, Id_T >::detach_block ( Type_T  ,
const Block_T &   
)
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.

Parameters
typeParameter namespace/domain containing the block.
block_nameBlock identifier.

Implemented in DependencyPruner.

◆ detach_parameter()

template<typename Type_T , typename Block_T , typename Id_T >
virtual void IDependencyPruner< Type_T, Block_T, Id_T >::detach_parameter ( Type_T  ,
const Block_T &  ,
const Id_T &   
)
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.

Parameters
typeParameter namespace/domain containing the parameter.
block_nameBlock identifier.
idParameter identifier inside the block.

Implemented in DependencyPruner.

◆ reattach_block()

template<typename Type_T , typename Block_T , typename Id_T >
virtual void IDependencyPruner< Type_T, Block_T, Id_T >::reattach_block ( Type_T  ,
const Block_T &   
)
pure virtual

Reattaches a previously detached block.

Parameters
typeParameter namespace/domain containing the block.
block_nameBlock identifier.

Implemented in DependencyPruner.

◆ reattach_parameter()

template<typename Type_T , typename Block_T , typename Id_T >
virtual void IDependencyPruner< Type_T, Block_T, Id_T >::reattach_parameter ( Type_T  ,
const Block_T &  ,
const Id_T &   
)
pure virtual

Reattaches a previously detached parameter.

Parameters
typeParameter namespace/domain containing the parameter.
block_nameBlock identifier.
idParameter identifier inside the block.

Implemented in DependencyPruner.


The documentation for this class was generated from the following file: