14 #ifndef __OUTPUTSINTEGRALS_H__
15 #define __OUTPUTSINTEGRALS_H__
28 #include "performance_term.h"
29 #include "numerical_integration.h"
33 #include "../tinyxml2/tinyxml2.h"
85 void check(
void)
const;
100 tinyxml2::XMLDocument*
to_XML(
void)
const;
102 void from_XML(
const tinyxml2::XMLDocument&);
const Vector< double > & get_outputs_integrals_weights(void) const
Returns the weights for each integral of the neural network outputs.
NumericalIntegration numerical_integration
Object for numerical integration of functions.
NumericalIntegration * get_numerical_integration_pointer(void)
Returns a pointer to the numerical integration object inside the outputs integrals object...
Vector< double > outputs_integrals_weights
Weigth for each output integral.
Vector< double > calculate_gradient(void) const
const NumericalIntegration & get_numerical_integration(void) const
Returns a constant reference to the numerical integration object inside the outputs integrals object...
Matrix< double > calculate_Hessian(void) const
tinyxml2::XMLDocument * to_XML(void) const
Returns a representation of the sum squared error object, in XML format.
void set_outputs_integrals_weights(const Vector< double > &)
const double & get_output_integral_weight(const size_t &) const
double calculate_performance(void) const
void set_numerical_integration(const NumericalIntegration &)
std::string write_performance_term_type(void) const
Returns a string with the name of the outputs integrals performance type, "OUTPUTS_INTEGRALS".
virtual ~OutputsIntegrals(void)
Destructor.
void set_output_integral_weight(const size_t &, const double &)
void from_XML(const tinyxml2::XMLDocument &)