Generator of the FORCES interface, the to, be called from MATLAB. More...
#include <export_forces_generator.hpp>
Public Member Functions | |
returnValue | configure (const unsigned _nx, const unsigned _nu, const unsigned _NN, const std::vector< std::vector< unsigned > > &_lbIdx, const std::vector< std::vector< unsigned > > &_ubIdx, const bool _constHessian, const bool _diagHessian, const bool _diagHessianN, const bool _fixedInitialState, const std::string &_solverName, const unsigned _printLevel, const unsigned _maxIterations, const unsigned _parallel, bool matlabGenerator, bool warmStart) |
ExportForcesGenerator (const std::string &_templateName, const std::string &_fileName, const std::string &_commonHeaderName="", const std::string &_realString="real_t", const std::string &_intString="int", int _precision=16, const std::string &_commentString=std::string()) | |
virtual | ~ExportForcesGenerator () |
Generator of the FORCES interface, the to, be called from MATLAB.
Definition at line 46 of file export_forces_generator.hpp.
BEGIN_NAMESPACE_ACADO ExportForcesGenerator::ExportForcesGenerator | ( | const std::string & | _templateName, |
const std::string & | _fileName, | ||
const std::string & | _commonHeaderName = "" , |
||
const std::string & | _realString = "real_t" , |
||
const std::string & | _intString = "int" , |
||
int | _precision = 16 , |
||
const std::string & | _commentString = std::string() |
||
) |
Default constructor.
[in] | _templateName | Name of a template. |
[in] | _fileName | Name of exported file. |
[in] | _commonHeaderName | Name of common header file to be included. |
[in] | _realString | std::string to be used to declare real variables. |
[in] | _intString | std::string to be used to declare integer variables. |
[in] | _precision | Number of digits to be used for exporting real values. |
[in] | _commentString | std::string to be used for exporting comments. |
Definition at line 38 of file export_forces_generator.cpp.
virtual ExportForcesGenerator::~ExportForcesGenerator | ( | ) | [inline, virtual] |
Destructor.
Definition at line 72 of file export_forces_generator.hpp.
returnValue ExportForcesGenerator::configure | ( | const unsigned | _nx, |
const unsigned | _nu, | ||
const unsigned | _NN, | ||
const std::vector< std::vector< unsigned > > & | _lbIdx, | ||
const std::vector< std::vector< unsigned > > & | _ubIdx, | ||
const bool | _constHessian, | ||
const bool | _diagHessian, | ||
const bool | _diagHessianN, | ||
const bool | _fixedInitialState, | ||
const std::string & | _solverName, | ||
const unsigned | _printLevel, | ||
const unsigned | _maxIterations, | ||
const unsigned | _parallel, | ||
bool | matlabGenerator, | ||
bool | warmStart | ||
) |
Configure the template
Definition at line 48 of file export_forces_generator.cpp.