SG++-Doxygen-Documentation
Loading...
Searching...
No Matches
sgpp::datadriven::ConfigurationBit Class Reference

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.
 
 ConfigurationBit (std::string name)
 Constructor.
 
void findComplexinner (std::string id, int bias)
 
std::string getName ()
 Get the name used to identify which hyperparameter is represented by this bit.
 
int getValue ()
 Get the value of this bit.
 
void removeLastConstraint ()
 removes last constraint (in case it was not valid)
 
void reset ()
 reset the value of this bit
 
void setValue (int input)
 Set the value of this bit.
 

Detailed Description

This class implements a boolean representation of hyperparameters for harmonica.

Constructor & Destructor Documentation

◆ ConfigurationBit()

sgpp::datadriven::ConfigurationBit::ConfigurationBit ( std::string  name)
inlineexplicit

Constructor.

Parameters
nameto indentify the hyperparameter represented by this bit

Member Function Documentation

◆ addConstraint()

void sgpp::datadriven::ConfigurationBit::addConstraint ( ConfigurationRestriction constraint)

Adds a reference to a new constraint limiting this bit.

Parameters
constraint

◆ findComplexinner()

void sgpp::datadriven::ConfigurationBit::findComplexinner ( std::string  id,
int  bias 
)

◆ getName()

std::string sgpp::datadriven::ConfigurationBit::getName ( )

Get the name used to identify which hyperparameter is represented by this bit.

Returns
name of the bit

◆ getValue()

int sgpp::datadriven::ConfigurationBit::getValue ( )

Get the value of this bit.

Returns

◆ removeLastConstraint()

void sgpp::datadriven::ConfigurationBit::removeLastConstraint ( )

removes last constraint (in case it was not valid)

◆ reset()

void sgpp::datadriven::ConfigurationBit::reset ( )

reset the value of this bit

◆ setValue()

void sgpp::datadriven::ConfigurationBit::setValue ( int  input)

Set the value of this bit.

Parameters
inputnew value

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