#include <optimizer_gnuplot.h>
Public Member Functions | |
bool | generateGnuPlot (double *st, std::string filenameScript, std::string filenameData) |
bool | generateGnuPlotCoords (double *st, std::string filenameScript, std::string filenameData) |
Public Member Functions inherited from robotLibPbD::COptimizer | |
COptimizer () | |
virtual std::string | generateOutput () |
bool | getResult (COptimizerResult &out) |
void | load (std::string cfg, std::string data, unsigned int start=0) |
void | run (const std::vector< double > &initialValues) |
void | setDataMax (unsigned int examplesMax) |
void | setEpsilon (double eps) |
void | setIterations (unsigned int iterations) |
void | setQuit (bool doQuit) |
void | setRandomStart (bool useRandom) |
void | setShowModulo (unsigned int counterMod) |
void | setShowResult (bool useShowResult) |
void | setTrimming (double trim) |
Additional Inherited Members | |
Static Public Member Functions inherited from robotLibPbD::COptimizer | |
static void | rosenbrockCallback (int nparam, double *x, double *fj, void *extraparams) |
Protected Member Functions inherited from robotLibPbD::COptimizer | |
void | callback (int nparam, double *x, double *fj) |
int | getValue (TiXmlElement *node, std::string item) |
bool | isEqual (std::vector< double > &first, std::vector< double > &second, double eps=0.1) |
void | loadData (std::string filename, unsigned int startId=0) |
void | loadDofs (std::string filename) |
void | loadGoals (std::string filename) |
void | loadValueSetters (std::string filename) |
std::string | readFromFile (std::string filename) |
void | reset () |
void | setData (std::vector< double > &values) |
void | setValue (double *x) |
bool | writeToFile (std::string filename, std::string buffer) |
Protected Attributes inherited from robotLibPbD::COptimizer | |
unsigned int | counter |
unsigned int | counterMod |
std::vector< OptimizerContainer > | data |
std::vector< double > | distances |
unsigned int | dofs |
bool | doQuit |
double | epsilon |
std::vector< std::vector< double > > | examples |
unsigned int | examplesMax |
CFrameContainer | frames |
std::vector< OptimizerGoal * > | functions |
std::vector< OptimizerGoalGlobal * > | globalFunctions |
DataPairs | information |
unsigned int | iterations |
std::vector< double > | result |
double | resultValue |
double | trim |
unsigned int | trimming |
bool | useRandom |
bool | useShowResult |
std::vector< ValueSetter > | valueSetters |
Definition at line 26 of file optimizer_gnuplot.h.
bool COptimizerGnuplot::generateGnuPlot | ( | double * | st, |
std::string | filenameScript, | ||
std::string | filenameData | ||
) |
Definition at line 103 of file optimizer_gnuplot.cpp.
bool COptimizerGnuplot::generateGnuPlotCoords | ( | double * | st, |
std::string | filenameScript, | ||
std::string | filenameData | ||
) |
Definition at line 27 of file optimizer_gnuplot.cpp.