Stores and evaluates Mayer terms within optimal control problems. More...
#include <mayer_term.hpp>

Public Member Functions | |
| returnValue | evaluate (const OCPiterate &x) |
| returnValue | evaluateSensitivities (BlockMatrix *hessian) |
| returnValue | init (const Grid &grid_, const Expression &arg) |
| MayerTerm () | |
| MayerTerm (const Grid &grid_, const Expression &arg) | |
| MayerTerm (const Grid &grid_, const Function &arg) | |
| MayerTerm (const MayerTerm &rhs) | |
| MayerTerm & | operator= (const MayerTerm &rhs) |
| virtual | ~MayerTerm () |
Stores and evaluates Mayer terms within optimal control problems.
The class MayerTerm allows to manage and evaluate Mayer terms within optimal control problems.
Definition at line 57 of file mayer_term.hpp.
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.
| MayerTerm::MayerTerm | ( | const Grid & | grid_, |
| const Function & | arg | ||
| ) |
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.
| MayerTerm::~MayerTerm | ( | ) | [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.
| returnValue MayerTerm::init | ( | const Grid & | grid_, |
| const Expression & | arg | ||
| ) | [inline] |
Assignment operator (deep copy).
Definition at line 68 of file mayer_term.cpp.