SG++
sgpp::datadriven::ScorerShufflingTypeParser Class Reference

Convenience class to convert strings to sgpp::datadriven::ScorerShufflingType and generate string representations for values of sgpp::datadriven::ScorerShufflingType. More...

#include <ScorerShufflingTypeParser.hpp>

Static Public Member Functions

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

Detailed Description

Convenience class to convert strings to sgpp::datadriven::ScorerShufflingType and generate string representations for values of sgpp::datadriven::ScorerShufflingType.

Member Function Documentation

ScorerShufflingType sgpp::datadriven::ScorerShufflingTypeParser::parse ( const std::string &  input)
static

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

Throws if there is no valid representation

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

References sgpp::datadriven::random, and sgpp::datadriven::sequential.

Referenced by sgpp::datadriven::DataMiningConfigParser::getScorerCrossValidationConfig(), and sgpp::datadriven::DataMiningConfigParser::getScorerTestingConfig().

const std::string & sgpp::datadriven::ScorerShufflingTypeParser::toString ( ScorerShufflingType  type)
static

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