BayesOpt
|
Class that represents the state of an optimization. More...
#include <bopt_state.hpp>
Public Member Functions | |
BOptState () | |
Constructor, parameters set into default. | |
void | saveToFile (std::string filename) |
Creates or overwrites the provided file with the state. | |
bool | loadFromFile (std::string filename, Parameters &program_params) |
Loads the state from the provided file and takes program_params values if needed. | |
Public Attributes | |
size_t | mCurrentIter |
size_t | mCounterStuck |
double | mYPrev |
Parameters | mParameters |
vecOfvec | mX |
vectord | mY |
Private Member Functions | |
void | loadOrSave (utils::FileParser &fp) |
Class that represents the state of an optimization.
This class fields stores the state of an optimization, and provides member functions to allow saving the state into a file or reading the state from a file.
Definition at line 46 of file bopt_state.hpp.