Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ILikelihood.h
Go to the documentation of this file.
1#ifndef ILIKELIHOOD_H
2#define ILIKELIHOOD_H
3
4#include "Math.h"
5
28public:
32 virtual ~ILikelihood() = default;
33
40 virtual double nll(const std::vector<double>& theta) const = 0;
41
50 virtual std::vector<fit_app::ParameterDefinition> get_param_defs() const = 0;
51
57 virtual std::size_t dim() const = 0;
58};
59
60#endif // ILIKELIHOOD_H
Base interface for negative log-likelihood evaluators.
Definition ILikelihood.h:27
virtual double nll(const std::vector< double > &theta) const =0
Evaluates the negative log-likelihood at a given parameter point.
virtual ~ILikelihood()=default
Virtual destructor for safe polymorphic deletion.
virtual std::size_t dim() const =0
Returns the total dimension of the parameter vector.
virtual std::vector< fit_app::ParameterDefinition > get_param_defs() const =0
Returns the metadata describing the likelihood parameters.