Class representing the acquisition function choices for the Bayesian search. More...
#include <AcquisitionFunctionOption.h>
Public Types | |
enum | Value { upperConfidenceBound , mean , variance , probabilityOfImprovement , expectedImprovement } |
Different acquisition functions. | |
Public Member Functions | |
AcquisitionFunctionOption ()=default | |
Constructor. | |
constexpr | AcquisitionFunctionOption (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::set< AcquisitionFunctionOption > | getDiscouragedOptions () |
Set of options that are very unlikely to be interesting. | |
static std::map< AcquisitionFunctionOption, std::string > | getOptionNames () |
Provides a way to iterate over the possible choices of AcquisitionFunction. | |
![]() | |
static std::set< AcquisitionFunctionOption > | getAllOptions () |
Provides a way to iterate over the possible options. | |
static std::set< AcquisitionFunctionOption > | 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 AcquisitionFunctionOption | parseOptionExact (const std::string &optionString) |
Converts a string to an enum. | |
Class representing the acquisition function choices for the Bayesian search.
|
inlineconstexpr |
Constructor from value.
option |
|
inlinestatic |
Set of options that are very unlikely to be interesting.
|
inlinestatic |
Provides a way to iterate over the possible choices of AcquisitionFunction.
|
inlineconstexpr |
Cast to value.