14 #ifndef __MATHEMATICALMODEL_H__
15 #define __MATHEMATICALMODEL_H__
27 #include "neural_network.h"
106 virtual std::string
to_string(
void)
const;
108 void print(
void)
const;
110 virtual tinyxml2::XMLDocument*
to_XML(
void)
const;
111 virtual void from_XML(
const tinyxml2::XMLDocument&);
113 void save(
const std::string&)
const;
114 void load(
const std::string&);
virtual Matrix< double > calculate_solutions(const NeuralNetwork &) const
void print(void) const
This method outputs to the console the string representation of the mathematical model.
virtual void from_XML(const tinyxml2::XMLDocument &)
const size_t & get_independent_variables_number(void) const
Returns the number of independent variables in the mathematical model.
void set(const MathematicalModel &)
virtual bool operator==(const MathematicalModel &) const
const size_t & get_dependent_variables_number(void) const
Returns the number of dependent variables in the mathematical model.
size_t count_variables_number(void) const
virtual tinyxml2::XMLDocument * to_XML(void) const
const bool & get_display(void) const
virtual Vector< double > calculate_final_solutions(const NeuralNetwork &) const
void set_display(const bool &)
void save(const std::string &) const
virtual MathematicalModel & operator=(const MathematicalModel &)
virtual std::string to_string(void) const
Returns a string representation of the current mathematical model object.
virtual void set_default(void)
virtual void save_data(const NeuralNetwork &, const std::string &) const
size_t dependent_variables_number
Number of dependent variables defining the mathematical model.
bool display
Flag for displaying warnings.
void set_dependent_variables_number(const size_t &)
virtual Matrix< double > calculate_dependent_variables(const NeuralNetwork &, const Matrix< double > &) const
size_t independent_variables_number
Number of independent variables defining the mathematical model.
void load(const std::string &)
virtual ~MathematicalModel(void)
void set_independent_variables_number(const size_t &)