SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::base::CoarseningFunctorTypeParser Class Reference

#include <CoarseningFunctorTypeParser.hpp>

Static Public Member Functions

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

Member Function Documentation

◆ parse()

CoarseningFunctorType sgpp::base::CoarseningFunctorTypeParser::parse ( const std::string &  input)
static

Convert strings to values sgpp::base::CoarseningFunctorType.

Throws if there is no valid representation

Parameters
inputcase insensitive string representation of a sgpp::base::CoarseningFunctorType.
Returns
the corresponding sgpp::base::CoarseningFunctorType.

References sgpp::base::Classification, sgpp::base::Surplus, and sgpp::base::SurplusVolume.

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

◆ toString()


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