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.
Default constructor.
Definition at line 47 of file multi_objective_functionality.cpp.
Copy constructor (deep copy).
Definition at line 54 of file multi_objective_functionality.cpp.
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 |
Reimplemented in OCP.
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. |
Reimplemented in OCP.
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.
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.