ComPWA
Common Partial-Wave-Analysis Framework
Optimizer.hpp
Go to the documentation of this file.
1
// Copyright (c) 2013, 2017 The ComPWA Team.
2
// This file is part of the ComPWA framework, check
3
// https://github.com/ComPWA/ComPWA/license.txt for details.
4
5
#ifndef COMPWA_OPTIMIZER_HPP_
6
#define COMPWA_OPTIMIZER_HPP_
7
8
#include "
Core/FitParameter.hpp
"
9
#include "
Estimator/Estimator.hpp
"
10
11
namespace
ComPWA
{
12
namespace
Optimizer {
13
21
template
<
typename
FitResultType,
typename
EstimatorType =
double
>
22
class
Optimizer
{
23
public
:
24
virtual
~Optimizer
() =
default
;
26
virtual
FitResultType
optimize
(
Estimator::Estimator<EstimatorType>
&Estimator,
27
FitParameterList
FitParameters) = 0;
28
};
29
30
}
// namespace Optimizer
31
}
// namespace ComPWA
32
33
#endif
ComPWA
Definition:
Efficiency.cpp:7
FitParameter.hpp
ComPWA::FitParameterList
std::vector< FitParameter< double > > FitParameterList
Definition:
FitParameter.hpp:50
ComPWA::Optimizer::Optimizer::~Optimizer
virtual ~Optimizer()=default
ComPWA::Estimator::Estimator
This class template provides the interface to implementations, which estimate the "closeness" of a Fu...
Definition:
Estimator.hpp:23
ComPWA::Optimizer::Optimizer::optimize
virtual FitResultType optimize(Estimator::Estimator< EstimatorType > &Estimator, FitParameterList FitParameters)=0
Finds the optimal value of the Estimator, by varying its parameters.
Estimator.hpp
ComPWA::Optimizer::Optimizer
This class template provides the interface to optimization libraries.
Definition:
Optimizer.hpp:22
Optimizer
Optimizer.hpp
Generated on Mon Jun 22 2020 13:03:33 for ComPWA by
1.8.13