ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Optimizer::Optimizer< FitResultType, EstimatorType > Class Template Referenceabstract

This class template provides the interface to optimization libraries. More...

#include <Optimizer.hpp>

Public Member Functions

virtual ~Optimizer ()=default
 
virtual FitResultType optimize (Estimator::Estimator< EstimatorType > &Estimator, FitParameterList FitParameters)=0
 Finds the optimal value of the Estimator, by varying its parameters. More...
 

Detailed Description

template<typename FitResultType, typename EstimatorType = double>
class ComPWA::Optimizer::Optimizer< FitResultType, EstimatorType >

This class template provides the interface to optimization libraries.

Note: The dynamic polymorphism by inheriting from Optimizer is not useful within ComPWA, since Optimizers are not never passed to another part of the code.

Definition at line 22 of file Optimizer.hpp.

+ Collaboration diagram for ComPWA::Optimizer::Optimizer< FitResultType, EstimatorType >:

Constructor & Destructor Documentation

◆ ~Optimizer()

template<typename FitResultType, typename EstimatorType = double>
virtual ComPWA::Optimizer::Optimizer< FitResultType, EstimatorType >::~Optimizer ( )
virtualdefault

Member Function Documentation

◆ optimize()

template<typename FitResultType, typename EstimatorType = double>
virtual FitResultType ComPWA::Optimizer::Optimizer< FitResultType, EstimatorType >::optimize ( Estimator::Estimator< EstimatorType > &  Estimator,
FitParameterList  FitParameters 
)
pure virtual

Finds the optimal value of the Estimator, by varying its parameters.

Implemented in ComPWA::Optimizer::Geneva::GenevaIF, and ComPWA::Optimizer::Minuit2::MinuitIF.


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