#include <optimizer_iv.h>
Public Member Functions | |
std::string | addLine (CVec &first, CVec &second, double width) |
COptimizerIv () | |
bool | generateInventor (std::vector< double > values, std::string filename, std::string ivCoordFilename="data/coord.iv") |
std::string | getInventorCoordinateSystem (double scaleFactor, std::string ivCoordFilename="data/coord.iv") |
void | setIvCoordScale (double ivCoordScale) |
void | setIvLineWidth (double ivLineWidth) |
void | setIvSphereRadius (double ivSphereRadius) |
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) |
Protected Attributes | |
double | ivCoordScale |
double | ivLineWidth |
double | ivSphereRadius |
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 |
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) |
Definition at line 26 of file optimizer_iv.h.
|
inline |
Definition at line 32 of file optimizer_iv.h.
Definition at line 27 of file optimizer_iv.cpp.
bool COptimizerIv::generateInventor | ( | std::vector< double > | values, |
std::string | filename, | ||
std::string | ivCoordFilename = "data/coord.iv" |
||
) |
Definition at line 123 of file optimizer_iv.cpp.
std::string COptimizerIv::getInventorCoordinateSystem | ( | double | scaleFactor, |
std::string | ivCoordFilename = "data/coord.iv" |
||
) |
Definition at line 110 of file optimizer_iv.cpp.
|
inline |
Definition at line 40 of file optimizer_iv.h.
|
inline |
Definition at line 38 of file optimizer_iv.h.
|
inline |
Definition at line 39 of file optimizer_iv.h.
|
protected |
Definition at line 29 of file optimizer_iv.h.
|
protected |
Definition at line 29 of file optimizer_iv.h.
|
protected |
Definition at line 29 of file optimizer_iv.h.