ACADO Toolkit  1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
Public Member Functions | Protected Attributes

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

#include <multi_objective_functionality.hpp>

Inheritance diagram for MultiObjectiveFunctionality:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MultiObjectiveFunctionality ()
 Default constructor.
 MultiObjectiveFunctionality (const MultiObjectiveFunctionality &rhs)
 Copy constructor (deep copy).
 ~MultiObjectiveFunctionality ()
 Destructor.
MultiObjectiveFunctionalityoperator= (const MultiObjectiveFunctionality &rhs)
 Assignment operator (deep copy).
returnValue minimizeMayerTerm (const int &multiObjectiveIdx, const Expression &arg)
 Adds an expression as a the Mayer term to be minimized, within
a multi-objective context.
int getNumberOfMayerTerms () const
returnValue getObjective (const int &multiObjectiveIdx, Expression **arg) const

Protected Attributes

int nMayer
Expression ** mayerTerms

Detailed Description

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

Constructor & Destructor Documentation

References mayerTerms, and nMayer.

References mayerTerms, and nMayer.

References mayerTerms, and nMayer.


Member Function Documentation

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

Reimplemented in OCP.

References ASSERT, mayerTerms, nMayer, and SUCCESSFUL_RETURN.

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



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

argThe expression to be added as a Mayer term.

Returns:
SUCCESSFUL_RETURN

Reimplemented in OCP.

References ASSERT, mayerTerms, nMayer, and SUCCESSFUL_RETURN.

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

References mayerTerms, and nMayer.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines