31 #ifndef MINIMUMTIMECOSTBOLZA_HPP_ 
   32 #define MINIMUMTIMECOSTBOLZA_HPP_ 
   36 namespace DirectTrajectoryOptimization {
 
   41 template<
class DIMENSIONS>
 
   46     EIGEN_MAKE_ALIGNED_OPERATOR_NEW
 
   48     typedef typename DIMENSIONS::state_vector_t state_vector_t;
 
   49     typedef typename DIMENSIONS::control_vector_t control_vector_t;
 
   57     double phi(
const state_vector_t & x, 
const control_vector_t & u , 
const double & h);
 
   58     state_vector_t phi_x(
const state_vector_t &x, 
const control_vector_t & u , 
const double &h);
 
   59     control_vector_t phi_u(
const state_vector_t &x, 
const control_vector_t & u , 
const double &h);
 
   60     double phi_h(
const state_vector_t &x, 
const control_vector_t & u , 
const double &h);
 
   62     double terminalCost(
const state_vector_t &x_f);
 
   63     state_vector_t terminalCostDerivative(
const state_vector_t &x_f);
 
   67 template <
class DIMENSIONS>
 
   72 template <
class DIMENSIONS>
 
   73 typename DIMENSIONS::state_vector_t MinimumTimeCostBolza<DIMENSIONS>::phi_x(
const state_vector_t &x, 
const control_vector_t & u , 
const double &h){
 
   75     return(state_vector_t::Zero());
 
   78 template <
class DIMENSIONS>
 
   79 typename DIMENSIONS::control_vector_t MinimumTimeCostBolza<DIMENSIONS>::phi_u(
const state_vector_t &x, 
const control_vector_t & u , 
const double &h){
 
   81     return(state_vector_t::Zero());
 
   84 template <
class DIMENSIONS>
 
   85 double MinimumTimeCostBolza<DIMENSIONS>::phi_h(
const state_vector_t & x , 
const control_vector_t &u , 
const double & h){
 
   90 template <
class DIMENSIONS>
 
   91 double MinimumTimeCostBolza<DIMENSIONS>::terminalCost(
const state_vector_t &x_f){
 
   96 template <
class DIMENSIONS>
 
   97 typename DIMENSIONS::state_vector_t  MinimumTimeCostBolza<DIMENSIONS>::terminalCostDerivative(
const state_vector_t &x_f){
 
   99     return(state_vector_t::Zero());
 
Base class to derive cost function of the type J = sum_k( phi_k(x_k,u_k,k) ) + H(X_K) ...
Base class to derive cost function of the type J = sum_k( phi_k(x_k,u_k,k) ) + H(X_K) ...
Definition: CostFunctionBolza.hpp:44
Bolza type cost function minimizing the total trajectory time. 
Definition: MinimumTimeCostBolza.hpp:42