Public Member Functions | Protected Attributes | List of all members
robotLibPbD::COptimizerIv Class Reference

#include <optimizer_iv.h>

Inheritance diagram for robotLibPbD::COptimizerIv:
Inheritance graph

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< OptimizerContainerdata
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< ValueSettervalueSetters

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)

Detailed Description

Definition at line 26 of file optimizer_iv.h.

Constructor & Destructor Documentation

robotLibPbD::COptimizerIv::COptimizerIv ( )

Definition at line 32 of file optimizer_iv.h.

Member Function Documentation

std::string COptimizerIv::addLine ( CVec first,
CVec second,
double  width 

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.

void robotLibPbD::COptimizerIv::setIvCoordScale ( double  ivCoordScale)

Definition at line 40 of file optimizer_iv.h.

void robotLibPbD::COptimizerIv::setIvLineWidth ( double  ivLineWidth)

Definition at line 38 of file optimizer_iv.h.

void robotLibPbD::COptimizerIv::setIvSphereRadius ( double  ivSphereRadius)

Definition at line 39 of file optimizer_iv.h.

Member Data Documentation

double robotLibPbD::COptimizerIv::ivCoordScale

Definition at line 29 of file optimizer_iv.h.

double robotLibPbD::COptimizerIv::ivLineWidth

Definition at line 29 of file optimizer_iv.h.

double robotLibPbD::COptimizerIv::ivSphereRadius

Definition at line 29 of file optimizer_iv.h.

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

Author(s): Aumann Florian, Heller Florian, Jäkel Rainer, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:35:36