SG++-Doxygen-Documentation
sgpp::datadriven::DensityEstimationTypeParser Class Reference

#include <DensityEstimationTypeParser.hpp>

Static Public Member Functions

static DensityEstimationType parse (const std::string &input)
 Convert strings to values sgpp::datadriven::DensityEstimationType. More...
 
static const std::string & toString (DensityEstimationType type)
 generate string representations for values of sgpp::datadriven::DensityEstimationType. More...
 

Member Function Documentation

◆ parse()

DensityEstimationType sgpp::datadriven::DensityEstimationTypeParser::parse ( const std::string &  input)
static

Convert strings to values sgpp::datadriven::DensityEstimationType.

Throws if there is no valid representation

Parameters
inputcase insensitive string representation of a sgpp::datadriven::DensityEstimationType.
Returns
the corresponding sgpp::datadriven::DensityEstimationType.

References sgpp::datadriven::CG, and sgpp::datadriven::Decomposition.

Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterDensityEstimationConfig().

◆ toString()

const std::string & sgpp::datadriven::DensityEstimationTypeParser::toString ( DensityEstimationType  type)
static

generate string representations for values of sgpp::datadriven::DensityEstimationType.

Parameters
typeenum value.
Returns
string representation of a sgpp::datadriven::DensityEstimationType.

References sgpp::datadriven::CG, and sgpp::datadriven::Decomposition.

Referenced by sgpp::datadriven::DataMiningConfigParser::getFitterDensityEstimationConfig().


The documentation for this class was generated from the following files: