SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
EngineParameterManager.h
Go to the documentation of this file.
1
22
23#ifndef MODELFITTING_ENGINEPARAMETERMANAGER_H
24#define MODELFITTING_ENGINEPARAMETERMANAGER_H
25
26#include <vector>
28
29namespace ModelFitting {
30
62
63public:
64
67
90
93
112 template <typename DoubleIter>
113 void getEngineValues(DoubleIter output_iter) const;
114
132 template <typename DoubleIter>
133 void updateEngineValues(DoubleIter new_values_iter);
134
136
137
138private:
139
141
142}; // end of class EngineParameterManager
143
144} // end of namespace ModelFitting
145
146// Include the templates implementation
148
149#endif /* MODELFITTING_ENGINEPARAMETERMANAGER_H */
150
Class responsible for managing the parameters the least square engine minimizes.
void updateEngineValues(DoubleIter new_values_iter)
Updates the managed parameters with the given engine values.
std::vector< double > convertCovarianceMatrixToWorldSpace(std::vector< double > covariance_matrix) const
std::vector< std::shared_ptr< EngineParameter > > m_parameters
virtual ~EngineParameterManager()
Destructor.
std::size_t numberOfParameters()
Returns the number of parameters managed by the manager.
void getEngineValues(DoubleIter output_iter) const
Returns the engine values of the managed parameters.
void registerParameter(std::shared_ptr< EngineParameter > parameter)
Registers an EngineParameter to the EngineParameterManager.