Public Member Functions | Protected Attributes | List of all members

Encapsulates functionality for defining OCPs having multiple objectives. More...

#include <multi_objective_functionality.hpp>

Inheritance diagram for MultiObjectiveFunctionality:
Inheritance graph
[legend]

Public Member Functions

int getNumberOfMayerTerms () const
 
returnValue getObjective (const int &multiObjectiveIdx, Expression **arg) const
 
returnValue minimizeMayerTerm (const int &multiObjectiveIdx, const Expression &arg)
 
 MultiObjectiveFunctionality ()
 
 MultiObjectiveFunctionality (const MultiObjectiveFunctionality &rhs)
 
MultiObjectiveFunctionalityoperator= (const MultiObjectiveFunctionality &rhs)
 
 ~MultiObjectiveFunctionality ()
 

Protected Attributes

Expression ** mayerTerms
 
int nMayer
 

Detailed Description

Encapsulates functionality for defining OCPs having multiple objectives.

The class MultiObjectiveFunctionality is a data class that encapsulates all functionality for defining optimal control problems having multiple objectives.

Author
Boris Houska, Hans Joachim Ferreau

Definition at line 53 of file multi_objective_functionality.hpp.

Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO MultiObjectiveFunctionality::MultiObjectiveFunctionality ( )

Default constructor.

Definition at line 47 of file multi_objective_functionality.cpp.

MultiObjectiveFunctionality::MultiObjectiveFunctionality ( const MultiObjectiveFunctionality rhs)

Copy constructor (deep copy).

Definition at line 54 of file multi_objective_functionality.cpp.

MultiObjectiveFunctionality::~MultiObjectiveFunctionality ( )

Destructor.

Definition at line 71 of file multi_objective_functionality.cpp.

Member Function Documentation

int MultiObjectiveFunctionality::getNumberOfMayerTerms ( ) const

Definition at line 127 of file multi_objective_functionality.cpp.

returnValue MultiObjectiveFunctionality::getObjective ( const int &  multiObjectiveIdx,
Expression **  arg 
) const

Definition at line 132 of file multi_objective_functionality.cpp.

returnValue MultiObjectiveFunctionality::minimizeMayerTerm ( const int &  multiObjectiveIdx,
const Expression arg 
)

Adds an expression as a the Mayer term to be minimized, within
a multi-objective context.

Parameters
multiObjectiveIdxThe index of the objective the
expression should be added to.

argThe expression to be added as a Mayer term.

Returns
SUCCESSFUL_RETURN

Definition at line 111 of file multi_objective_functionality.cpp.

MultiObjectiveFunctionality & MultiObjectiveFunctionality::operator= ( const MultiObjectiveFunctionality rhs)

Assignment operator (deep copy).

Definition at line 82 of file multi_objective_functionality.cpp.

Member Data Documentation

Expression** MultiObjectiveFunctionality::mayerTerms
protected

Definition at line 87 of file multi_objective_functionality.hpp.

int MultiObjectiveFunctionality::nMayer
protected

Definition at line 86 of file multi_objective_functionality.hpp.


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