Stores and evaluates Mayer terms within optimal control problems. More...
#include <mayer_term.hpp>
Additional Inherited Members | |
Protected Member Functions inherited from ObjectiveElement | |
Grid | getGrid () const |
Protected Attributes inherited from ObjectiveElement | |
BlockMatrix * | bSeed |
BlockMatrix * | bSeed2 |
BlockMatrix | dBackward |
BlockMatrix | dForward |
Function | fcn |
Grid | grid |
EvaluationPoint | JJ |
int | na |
int | np |
int | nu |
int | nw |
int | nx |
int | ny |
double | obj |
BlockMatrix * | pSeed |
BlockMatrix * | pSeed2 |
int | t_index |
BlockMatrix * | uSeed |
BlockMatrix * | uSeed2 |
BlockMatrix * | wSeed |
BlockMatrix * | wSeed2 |
BlockMatrix * | xaSeed |
BlockMatrix * | xaSeed2 |
BlockMatrix * | xSeed |
BlockMatrix * | xSeed2 |
int * | y_index |
EvaluationPoint | z |
Stores and evaluates Mayer terms within optimal control problems.
The class MayerTerm allows to manage and evaluate Mayer terms within optimal control problems.
\author Boris Houska, Hans Joachim Ferreau
Definition at line 57 of file mayer_term.hpp.
BEGIN_NAMESPACE_ACADO MayerTerm::MayerTerm | ( | ) |
Default constructor.
Definition at line 47 of file mayer_term.cpp.
MayerTerm::MayerTerm | ( | const Grid & | grid_, |
const Expression & | arg | ||
) |
Default constructor.
Definition at line 50 of file mayer_term.cpp.
Default constructor.
Definition at line 56 of file mayer_term.cpp.
MayerTerm::MayerTerm | ( | const MayerTerm & | rhs | ) |
Copy constructor (deep copy).
Definition at line 62 of file mayer_term.cpp.
|
virtual |
Destructor.
Definition at line 65 of file mayer_term.cpp.
returnValue MayerTerm::evaluate | ( | const OCPiterate & | x | ) |
Definition at line 79 of file mayer_term.cpp.
returnValue MayerTerm::evaluateSensitivities | ( | BlockMatrix * | hessian | ) |
Evaluates the objective gradient contribution from this term
and computes the corresponding exact hessian if hessian != 0
Definition at line 93 of file mayer_term.cpp.
|
inline |
Assignment operator (deep copy).
Definition at line 68 of file mayer_term.cpp.