33 #include "../tinyxml2/tinyxml2.h"
53 explicit Outputs(
const size_t&);
58 explicit Outputs(
const tinyxml2::XMLDocument&);
109 return(
items.size());
115 const std::string&
get_name(
const size_t&)
const;
118 const std::string&
get_unit(
const size_t&)
const;
134 void set(
const size_t&);
145 void set_name(
const size_t&,
const std::string&);
148 void set_unit(
const size_t&,
const std::string&);
173 virtual tinyxml2::XMLDocument*
to_XML(
void)
const;
174 virtual void from_XML(
const tinyxml2::XMLDocument&);
Vector< std::string > arrange_names(void) const
std::string description
Description of neural network output.
const bool & get_display(void) const
void grow_output(void)
Appends a new item to the outputs.
Vector< std::string > arrange_descriptions(void) const
void set_display(const bool &)
void set_name(const size_t &, const std::string &)
void set_unit(const size_t &, const std::string &)
std::string to_string(void) const
Returns a string representation of the current outputs object.
Vector< std::string > arrange_units(void) const
void set_descriptions(const Vector< std::string > &)
Outputs & operator=(const Outputs &)
bool display
Display messages to screen.
std::string units
Units of neural network output.
void set_information(const Matrix< std::string > &)
virtual tinyxml2::XMLDocument * to_XML(void) const
const std::string & get_description(const size_t &) const
virtual void from_XML(const tinyxml2::XMLDocument &)
bool operator==(const Outputs &) const
bool is_empty(void) const
Returns true if both the number of outputs is zero, and false otherwise.
virtual void set_default(void)
Sets the members of this object to their default values.
Vector< std::string > write_default_names(void) const
Vector< std::string > units
Units of output variables.
Vector< std::string > descriptions
Description of output variables.
const std::string & get_unit(const size_t &) const
void set_description(const size_t &, const std::string &)
void set_outputs_number(const size_t &)
Matrix< std::string > arrange_information(void) const
void prune_output(const size_t &)
Vector< Item > items
Name of output variables.
Item(void)
Default constructor.
void set_units(const Vector< std::string > &)
void set_names(const Vector< std::string > &)
virtual ~Outputs(void)
Destructor.
const std::string & get_name(const size_t &) const
std::string name
Name of neural network output.
size_t get_outputs_number(void) const
Returns the number of outputs neurons in the neural network.