#include <suTrackTarget.h>
Inheritance diagram for suTrackTarget:

Public Member Functions | |
| virtual | ~suTrackTarget () |
| Destructor. | |
| suTrackTarget (int aNX, suTrackController *aController) | |
| Constructor. | |
Private Member Functions | |
| void | setNull () |
| Set all member variables to their NULL values. | |
| int | compute (double *x, double *p, double *c) |
| Compute performance and the constraints given x. | |
| int | computeGradients (double *dx, double *x, double *dpdx, double *dcdx) |
| Compute the gradients of the performance and the constraints given x. | |
| int | computePerformance (double *x, double *p) |
| Compute performance given x. | |
| int | computePerformanceGradient (double *x, double *dpdx) |
| Compute the gradient of performance given x. | |
| int | computeConstraint (double *x, int i, double *c) |
| Compute constraint i given x. | |
| int | computeConstraintGradient (double *x, int i, double *dcdx) |
| Compute the gradient of constraint i given x. | |
Private Attributes | |
| suTrackController * | _controller |
| Parent controller. | |
| double * | _yOrig |
| Original array of the states. | |
| double * | _y |
| Work array of the states. | |
| double * | _dydt |
| Array of the derivatives of the states. | |
| double * | _dqdt |
| Array of the derivatives of the generalized coordinates. | |
| double * | _dudt |
| Array of the derivatives of the generalized speeds. | |
|
||||||||||||||||
|
Compute performance and the constraints given x. Note - used by paramopt. Implements rdOptimizationTarget. |
|
||||||||||||||||
|
Compute constraint i given x. Note that the indexing starts at 1; Implements rdOptimizationTarget. |
|
||||||||||||||||||||
|
Compute the gradients of the performance and the constraints given x. The array dx is an array of perturbation sizes which can be used to compute the gradients numerically. Note- used by paramopt. Implements rdOptimizationTarget. |
1.3