![]() |
SG++-Doxygen-Documentation
|
This class implements a boolean representation of hyperparameters for harmonica. More...
#include <ConfigurationBit.hpp>
Public Member Functions | |
| void | addConstraint (ConfigurationRestriction *constraint) |
| Adds a reference to a new constraint limiting this bit. More... | |
| ConfigurationBit (std::string name) | |
| Constructor. More... | |
| void | findComplexinner (std::string id, int bias) |
| std::string | getName () |
| Get the name used to identify which hyperparameter is represented by this bit. More... | |
| int | getValue () |
| Get the value of this bit. More... | |
| void | removeLastConstraint () |
| removes last constraint (in case it was not valid) More... | |
| void | reset () |
| reset the value of this bit More... | |
| void | setValue (int input) |
| Set the value of this bit. More... | |
This class implements a boolean representation of hyperparameters for harmonica.
|
inlineexplicit |
Constructor.
| name | to indentify the hyperparameter represented by this bit |
References addConstraint(), findComplexinner(), getName(), getValue(), removeLastConstraint(), reset(), and setValue().
| void sgpp::datadriven::ConfigurationBit::addConstraint | ( | ConfigurationRestriction * | constraint | ) |
Adds a reference to a new constraint limiting this bit.
| constraint |
Referenced by ConfigurationBit().
| void sgpp::datadriven::ConfigurationBit::findComplexinner | ( | std::string | id, |
| int | bias | ||
| ) |
Referenced by ConfigurationBit().
| std::string sgpp::datadriven::ConfigurationBit::getName | ( | ) |
Get the name used to identify which hyperparameter is represented by this bit.
Referenced by ConfigurationBit().
| int sgpp::datadriven::ConfigurationBit::getValue | ( | ) |
| void sgpp::datadriven::ConfigurationBit::removeLastConstraint | ( | ) |
removes last constraint (in case it was not valid)
Referenced by ConfigurationBit().
| void sgpp::datadriven::ConfigurationBit::reset | ( | ) |
reset the value of this bit
Referenced by ConfigurationBit().
| void sgpp::datadriven::ConfigurationBit::setValue | ( | int | input | ) |