#include <Optimization.h>
Inherited by PhysX::JointLimitOptimizer::D6JointLimitFitter.
|
AZ::Outcome< double, FunctionOutcome > | Execute (const AZStd::vector< double > &x) const |
| Used internally by solver routines to perform function evaluations.
|
|
virtual AZ::u32 | GetDimension () const =0 |
|
Class used to represent functions to be optimized. To set up a particular function for optimization, derive from this class and override the GetDimension and ExecuteImpl methods.
◆ ExecuteImpl()
virtual AZ::Outcome< double, FunctionOutcome > NumericalMethods::Optimization::Function::ExecuteImpl |
( |
const AZStd::vector< double > & |
x | ) |
const |
|
protectedpure virtual |
The actual implementation of the function evaluation. This should be overridden with the implementation for the particular function it is desired to optimize.
◆ GetDimension()
virtual AZ::u32 NumericalMethods::Optimization::Function::GetDimension |
( |
| ) |
const |
|
pure virtual |
The number of parameters the function takes. For example, the function f(x, y) = x * y takes 2 parameters.
The documentation for this class was generated from the following file:
- Gems/PhysX/Code/NumericalMethods/Include/NumericalMethods/Optimization.h