Class for utilizing shooting nodes within a class yane::MPC::MPC object.
List of all members.
Constructor & Destructor Documentation
LIB_EXPORT yane::MPC::ModelShootingData::~ModelShootingData |
( |
| ) |
[virtual] |
Member Function Documentation
virtual void yane::MPC::ModelShootingData::applyShootingData |
( |
int |
horizont, |
|
|
double * |
t, |
|
|
double * |
x, |
|
|
double * |
sdatavalues |
|
) |
| [pure virtual] |
Function to define the shooting node values. This function is called before each start of the optimization within the class yane::MPC::MPC object and allows to reset shooting values.
- Parameters:
-
horizont | Length of the horizon |
t | Time grid |
x | State vector |
sdatavalues | Array of shooting data values |
virtual int yane::MPC::ModelShootingData::maxShootingDataLength |
( |
int |
maxhorizont | ) |
[pure virtual] |
Function to return the maximal number of shooting nodes for the maximal horizon. This function is used by the class yane::MPC::MPC object to allocate its internal memory for storing the shooting data values.
- Parameters:
-
maxhorizont | Maximal horizon length |
- Returns:
- Number of shooting nodes
virtual void yane::MPC::ModelShootingData::shootingDataInfo |
( |
int |
horizont, |
|
|
T_SHOOTINGDATA * |
sdata |
|
) |
| [pure virtual] |
Function to define the shooting nodes
- Parameters:
-
sdata | Array of shooting nodes where data can be stored |
horizont | Length of the horizon |
virtual int yane::MPC::ModelShootingData::shootingDataLength |
( |
int |
horizont | ) |
[pure virtual] |
Function to return the number of shooting nodes for a given horizon
- Parameters:
-
horizont | Length of the horizon |
- Returns:
- Number of shooting nodes