14 #ifndef __INDEPENDENTPARAMETERSERROR_H__
15 #define __INDEPENDENTPARAMETERSERROR_H__
28 #include "mathematical_model.h"
30 #include "performance_term.h"
34 #include "../tinyxml2/tinyxml2.h"
94 void check(
void)
const;
110 tinyxml2::XMLDocument*
to_XML(
void)
const;
112 void from_XML(
const tinyxml2::XMLDocument&);
const Vector< double > & get_independent_parameters_errors_weights(void) const
Returns the weight for each error between the actual independent parameters and their target values...
Matrix< double > calculate_Hessian(void) const
Returns the performance term Hessian.
std::string write_performance_term_type(void) const
Returns a string with the name of the independent parameters error performance type, "INDEPENDENT_PARAMETERS_ERROR".
void set_target_independent_parameter(const size_t &, const double &)
std::string write_information(void) const
const Vector< double > & get_target_independent_parameters(void) const
Returns the desired values for the independent parameter.
const double & get_independent_parameter_error_weight(const size_t &) const
IndependentParametersError(void)
void set_independent_parameter_error_weight(const size_t &, const double &)
double calculate_performance(void) const
Returns the dot product between the independent parameters vector and its targets vector...
Vector< double > independent_parameters_errors_weights
Weight for each error between the actual independent parameters and their target values.
void set_target_independent_parameters(const Vector< double > &)
void set_independent_parameters_errors_weights(const Vector< double > &)
Vector< double > target_independent_parameters
Desired independent parameter values.
virtual ~IndependentParametersError(void)
Destructor.
Vector< double > calculate_gradient(void) const
Returns the performance term gradient.
tinyxml2::XMLDocument * to_XML(void) const
const double & get_target_independent_parameter(const size_t &) const
bool operator==(const IndependentParametersError &) const
Equal to operator.
IndependentParametersError & operator=(const IndependentParametersError &)
Assignment operator.
void from_XML(const tinyxml2::XMLDocument &)