Public Member Functions | List of all members

Stores and evaluates Mayer terms within optimal control problems. More...

#include <mayer_term.hpp>

Inheritance diagram for MayerTerm:
Inheritance graph
[legend]

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)
 
MayerTermoperator= (const MayerTerm &rhs)
 
virtual ~MayerTerm ()
 
- Public Member Functions inherited from ObjectiveElement
virtual returnValue getBackwardSensitivities (BlockMatrix *D, int order)
 
virtual returnValue getForwardSensitivities (BlockMatrix *D, int order)
 
returnValue getFunction (Function &_function)
 
int getNP () const
 
int getNU () const
 
int getNW () const
 
int getNX () const
 
int getNXA () const
 
virtual returnValue getObjectiveValue (double &objectiveValue)
 
returnValue init (const OCPiterate &x)
 
 ObjectiveElement ()
 
 ObjectiveElement (const Grid &grid_)
 
 ObjectiveElement (const ObjectiveElement &rhs)
 
ObjectiveElementoperator= (const ObjectiveElement &rhs)
 
virtual returnValue setBackwardSeed (BlockMatrix *seed, int order)
 
virtual returnValue setForwardSeed (BlockMatrix *xSeed_, BlockMatrix *xaSeed_, BlockMatrix *pSeed_, BlockMatrix *uSeed_, BlockMatrix *wSeed_, int order)
 
returnValue setGrid (const Grid &grid_)
 
virtual ~ObjectiveElement ()
 

Additional Inherited Members

- Protected Member Functions inherited from ObjectiveElement
Grid getGrid () const
 
- Protected Attributes inherited from ObjectiveElement
BlockMatrixbSeed
 
BlockMatrixbSeed2
 
BlockMatrix dBackward
 
BlockMatrix dForward
 
Function fcn
 
Grid grid
 
EvaluationPoint JJ
 
int na
 
int np
 
int nu
 
int nw
 
int nx
 
int ny
 
double obj
 
BlockMatrixpSeed
 
BlockMatrixpSeed2
 
int t_index
 
BlockMatrixuSeed
 
BlockMatrixuSeed2
 
BlockMatrixwSeed
 
BlockMatrixwSeed2
 
BlockMatrixxaSeed
 
BlockMatrixxaSeed2
 
BlockMatrixxSeed
 
BlockMatrixxSeed2
 
int * y_index
 
EvaluationPoint z
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

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.

Member Function Documentation

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

Returns
SUCCESSFUL_RETURN

Definition at line 93 of file mayer_term.cpp.

returnValue MayerTerm::init ( const Grid grid_,
const Expression arg 
)
inline
MayerTerm & MayerTerm::operator= ( const MayerTerm rhs)

Assignment operator (deep copy).

Definition at line 68 of file mayer_term.cpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:25