Class representing the choices of possible extrapolation methods for predictiveTuning. More...
#include <ExtrapolationMethodOption.h>
Public Types | |
enum | Value { linePrediction , linearRegression , newton , lastResult } |
Possible choices for the auto tuner. More... | |
Public Member Functions | |
ExtrapolationMethodOption ()=default | |
Constructor. | |
constexpr | ExtrapolationMethodOption (Value option) |
Constructor from value. | |
constexpr | operator Value () const |
Cast to value. | |
![]() | |
operator bool ()=delete | |
Prevents cast to bool by deleting the conversion operator. | |
std::string | to_string (bool fixedLength=false) const |
Converts an Option object to its respective string representation. | |
Static Public Member Functions | |
static std::map< ExtrapolationMethodOption, std::string > | getOptionNames () |
Provides a way to iterate over the possible choices of ExtrapolationMethods. | |
![]() | |
static std::set< ExtrapolationMethodOption > | getAllOptions () |
Provides a way to iterate over the possible options. | |
static std::set< ExtrapolationMethodOption > | getMostOptions () |
Provides a way to iterate over the possible options minus those that are very unlikely to be on interest. | |
static size_t | maxStringLength () |
Returns the number of characters in the string representation of the longest option. | |
static OutputContainer | parseOptions (const std::string &optionsString) |
Converts a string of options to a set of enums. | |
static ExtrapolationMethodOption | parseOptionExact (const std::string &optionString) |
Converts a string to an enum. | |
Class representing the choices of possible extrapolation methods for predictiveTuning.
Possible choices for the auto tuner.
|
inlineconstexpr |
Constructor from value.
option |
|
inlinestatic |
Provides a way to iterate over the possible choices of ExtrapolationMethods.
|
inlineconstexpr |
Cast to value.