14 #ifndef __FINALSOLUTIONSERROR_H__
15 #define __FINALSOLUTIONSERROR_H__
28 #include "mathematical_model.h"
30 #include "performance_term.h"
34 #include "../tinyxml2/tinyxml2.h"
114 void check(
void)
const;
127 tinyxml2::XMLDocument*
to_XML(
void)
const;
128 void from_XML(
const tinyxml2::XMLDocument&);
void set_final_solution_error_weight(const size_t &, const double &)
const Vector< double > & get_target_final_solutions(void) const
Returns the desired final state of each dependent variable.
virtual ~FinalSolutionsError(void)
Destructor.
double calculate_performance(void) const
Returns the performance value of the performance term.
Vector< double > target_final_solutions
Vector< double > final_solutions_errors_weights
FinalSolutionsError(void)
std::string write_performance_term_type(void) const
Returns a string with the name of the final solutions error performance type, "FINAL_SOLUTIONS_ERROR"...
const Vector< double > & get_final_solutions_errors_weights(void) const
Returns the weight values for each error in the final solutions.
void set_mathematical_model_pointer(MathematicalModel *)
void set_target_final_solutions(const Vector< double > &)
FinalSolutionsError & operator=(const FinalSolutionsError &)
Assignment operator.
void set_target_final_solution(const size_t &, const double &)
void from_XML(const tinyxml2::XMLDocument &)
bool operator==(const FinalSolutionsError &) const
tinyxml2::XMLDocument * to_XML(void) const
Returns a representation of the sum squared error object, in XML format.
std::string write_information(void) const
void set_final_solutions_errors_weights(const Vector< double > &)