Encapsulates functionality for defining OCPs having multiple objectives. More...
#include <multi_objective_functionality.hpp>
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) | |
MultiObjectiveFunctionality & | operator= (const MultiObjectiveFunctionality &rhs) |
~MultiObjectiveFunctionality () | |
Protected Attributes | |
Expression ** | mayerTerms |
int | nMayer |
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.
Definition at line 53 of file multi_objective_functionality.hpp.
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.
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.
multiObjectiveIdx | The index of the objective the expression should be added to. |
arg | The expression to be added as a Mayer term. |
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.
|
protected |
Definition at line 87 of file multi_objective_functionality.hpp.
|
protected |
Definition at line 86 of file multi_objective_functionality.hpp.