BayesOpt
bayesopt::BOptState Class Reference

Class that represents the state of an optimization. More...

#include <bopt_state.hpp>

+ Collaboration diagram for bayesopt::BOptState:

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)
 

Detailed Description

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.


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