Public Member Functions | Protected Member Functions

Generates weights for solving OCPs having multiple objectives. More...

#include <weight_generation.hpp>

List of all members.

Public Member Functions

returnValue getWeights (const int &m, const int &pnts, const DVector &weightsLB, const DVector &weightsUB, DMatrix &Weights, DVector &formers) const
WeightGenerationoperator= (const WeightGeneration &arg)
 WeightGeneration ()
 WeightGeneration (const WeightGeneration &arg)
virtual ~WeightGeneration ()

Protected Member Functions

returnValue generateWeights (const int &n, DVector &weight, DMatrix &Weights, const DVector &weightsLB, const DVector &weightsUB, DVector &formers, const int &layer, int &lastOne, int &currentOne, double &step) const

Detailed Description

Generates weights for solving OCPs having multiple objectives.

Auxiliary class for generating weights for solving optimal control problems having multiple objectives.

Author:
Boris Houska, Filip Logist, Hans Joachim Ferreau

Definition at line 51 of file weight_generation.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 47 of file weight_generation.cpp.

Copy constructor (deep copy).

Definition at line 51 of file weight_generation.cpp.

Destructor.

Definition at line 55 of file weight_generation.cpp.


Member Function Documentation

returnValue WeightGeneration::generateWeights ( const int &  n,
DVector weight,
DMatrix Weights,
const DVector weightsLB,
const DVector weightsUB,
DVector formers,
const int &  layer,
int &  lastOne,
int &  currentOne,
double &  step 
) const [protected]

Recursive weight generation routine.

Parameters:
ndimension of the current layer
weightcurrent set of weights to be added.
Weightstentative set of final weights.
weightsLBthe lower bounds for the weights.
weightsUBthe upper bounds for the weights.
formerstentative list of closest points.
layerthe upper layer (equal to # of Obj.)
lastOnecounter for the closest points
currentOnecounter for the closest points
stepstep size in one direction.

Definition at line 98 of file weight_generation.cpp.

returnValue WeightGeneration::getWeights ( const int &  m,
const int &  pnts,
const DVector weightsLB,
const DVector weightsUB,
DMatrix Weights,
DVector formers 
) const

Generates weights and closest points.

Input:

Parameters:
mnumber of objectives
pntsnumber of points in 1 direction
weightsLBlower bound on weights
weightsUBupper bound on weights

Output:
Weightsfinal weights
formersclosest points

Definition at line 68 of file weight_generation.cpp.

WeightGeneration & WeightGeneration::operator= ( const WeightGeneration arg)

Assignment operator (deep copy).

Definition at line 59 of file weight_generation.cpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:40