14 #ifndef __BOUNDINGLAYER_H__
15 #define __BOUNDINGLAYER_H__
33 #include "../tinyxml2/tinyxml2.h"
99 void set(
const size_t&);
100 void set(
const tinyxml2::XMLDocument&);
140 tinyxml2::XMLDocument*
to_XML(
void)
const;
141 void from_XML(
const tinyxml2::XMLDocument&);
std::string to_string(void) const
Returns a string representation of the current bonding layer object.
Vector< Matrix< double > > arrange_Hessian_form(const Vector< double > &) const
tinyxml2::XMLDocument * to_XML(void) const
void set_display(const bool &)
Vector< double > calculate_derivative(const Vector< double > &) const
const Vector< double > & get_upper_bounds(void) const
Returns the upper bounds values of all the bounding neurons in the layer.
Matrix< double > arrange_Jacobian(const Vector< double > &) const
bool display
Display messages to screen.
void from_XML(const tinyxml2::XMLDocument &)
bool is_empty(void) const
Returns true if the size of the layer is zero, and false otherwise.
bool operator==(const BoundingLayer &) const
size_t get_bounding_neurons_number(void) const
Returns the number of bounding neurons in the layer.
std::string write_expression(const Vector< std::string > &, const Vector< std::string > &) const
Returns a string with the expression of the lower and upper bounds functions.
BoundingMethod
Enumeration of available methods for bounding the output variables.
void set_lower_bounds(const Vector< double > &)
void set_bounds(const Vector< Vector< double > > &)
Vector< double > calculate_outputs(const Vector< double > &) const
void set_upper_bounds(const Vector< double > &)
double get_lower_bound(const size_t &) const
Vector< double > lower_bounds
Lower bounds of output variables.
Vector< double > calculate_second_derivative(const Vector< double > &) const
Vector< Vector< double > * > get_bounds(void)
void initialize_random(void)
Initializes the lower and upper bounds of all the bounding neurons with random values.
void set_lower_bound(const size_t &, const double &)
Vector< double > upper_bounds
Upper bounds of output variables.
virtual ~BoundingLayer(void)
void prune_bounding_neuron(const size_t &)
const Vector< double > & get_lower_bounds(void) const
Returns the lower bounds values of all the bounding neurons in the layer.
double get_upper_bound(const size_t &) const
void set_upper_bound(const size_t &, const double &)
BoundingLayer & operator=(const BoundingLayer &)