34 #ifndef ACADO_TOOLKIT_DYNAMIC_DISCRETIZATION_HPP 35 #define ACADO_TOOLKIT_DYNAMIC_DISCRETIZATION_HPP 92 const Grid &stageIntervals,
307 #include <acado/dynamic_discretization/dynamic_discretization.ipp> 316 #endif // ACADO_TOOLKIT_DYNAMIC_DISCRETIZATION_HPP
virtual returnValue getForwardSensitivities(BlockMatrix &D) const
Data class for storing generic optimization variables.
Implements a very rudimentary block sparse matrix class.
virtual returnValue clear()=0
virtual returnValue getResiduum(BlockMatrix &residuum_) const
virtual ~DynamicDiscretization()
Stores a DifferentialEquation together with an OutputFcn.
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
virtual returnValue addStage(const DynamicSystem &dynamicSystem_, const Grid &stageIntervals, const IntegratorType &integratorType_=INT_UNKNOWN)=0
Base class for all algorithmic modules within the ACADO Toolkit providing some basic functionality...
virtual returnValue setBackwardSeed(const BlockMatrix &seed)
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
DynamicDiscretization & operator=(const DynamicDiscretization &rhs)
virtual returnValue deleteAllSeeds()
virtual DynamicDiscretization * clone() const =0
#define CLOSE_NAMESPACE_ACADO
Base class for discretizing a DifferentialEquation for use in optimal control algorithms.
virtual returnValue unfreeze()=0
virtual returnValue setUnitForwardSeed()
void initializeVariables()
virtual returnValue setupOptions()
virtual returnValue addTransition(const Transition &transition_)=0
int getNumberOfIntervals() const
Encapsulates all user interaction for setting options, logging data and plotting results.
virtual returnValue evaluateSensitivities()=0
void rhs(const real_t *x, real_t *f)
virtual returnValue evaluate(OCPiterate &iter)=0
virtual BooleanType isAffine() const =0
Allows to setup and evaluate transition functions based on SymbolicExpressions.
virtual returnValue evaluateSensitivitiesLifted()=0
virtual returnValue setForwardSeed(const BlockMatrix &xSeed_, const BlockMatrix &pSeed_, const BlockMatrix &uSeed_, const BlockMatrix &wSeed_)
#define BEGIN_NAMESPACE_ACADO
virtual returnValue getBackwardSensitivities(BlockMatrix &D) const
virtual returnValue setUnitBackwardSeed()
uint getNumEvaluationPoints() const
virtual returnValue setupLogging()
void copy(const DynamicDiscretization &rhs)