|
DirectTrajectoryOptimization
v0.3
|
Base class to derive cost function of the type J = sum_k( phi_k(x_k,u_k,k) ) + H(X_K) More...
#include <CostFunctionBolza.hpp>
Public Member Functions | |
| double | IntermediateCost (const state_vector_t &x, const control_vector_t &u, const double &h) |
| Intermediate cost function. More... | |
Base class to derive cost function of the type J = sum_k( phi_k(x_k,u_k,k) ) + H(X_K)
| double DirectTrajectoryOptimization::BaseClass::CostFunctionBolza< DIMENSIONS >::IntermediateCost | ( | const state_vector_t & | x, |
| const control_vector_t & | u, | ||
| const double & | h | ||
| ) |
Intermediate cost function.
| [in] | x | sate vector |
| [in] | u | control vector |
| [in] | h | increment |