11 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
17 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
29 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
34 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
45 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
51 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
58 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
65 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
72 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
79 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
87 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
95 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
103 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
111 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
121 template <
size_t STATE_DIM,
size_t CONTROL_DIM,
typename SCALAR>
VectorXs getLowerBoundsIntermediate() const
Retrieves the lower constraint bound on the intermediate constraints.
Definition: ConstraintContainerBase-impl.h:53
VectorXs getLowerBoundsTerminal() const
Retrieves the lower constraint bound on the terminal constraints.
Definition: ConstraintContainerBase-impl.h:60
virtual void setCurrentStateAndControl(const state_vector_t &x, const input_vector_t &u, const SCALAR t=SCALAR(0.0))
Definition: ConstraintContainerBase-impl.h:35
input_vector_t u_
Definition: ConstraintContainerBase.h:198
Eigen::Matrix< SCALAR, Eigen::Dynamic, 1 > VectorXs
Definition: ConstraintContainerBase.h:40
VectorXs getUpperBoundsTerminal() const
Retrieves the upper constraint bound on the terminal constraints.
Definition: ConstraintContainerBase-impl.h:74
ct::core::ControlVector< control_dim > u
Definition: LoadFromFileTest.cpp:21
VectorXs lowerBoundsTerminal_
Definition: ConstraintContainerBase.h:202
virtual size_t getIntermediateConstraintsCount()=0
Retrieves the number of intermediate constraints.
VectorXs getUpperBoundsViolationIntermediate()
Retrieves the violation of the upper constraint bound on the intermediate constraints.
Definition: ConstraintContainerBase-impl.h:81
VectorXs upperBoundsTerminal_
Definition: ConstraintContainerBase.h:204
VectorXs lowerBoundsIntermediate_
Definition: ConstraintContainerBase.h:201
VectorXs getTotalBoundsViolationIntermediate()
Retrieves the total violation of the constraints bounds on the intermediate constraints.
Definition: ConstraintContainerBase-impl.h:113
virtual VectorXs evaluateIntermediate()=0
Evaluates the intermediate constraints.
clear all close all load ct GNMSLog0 mat reformat t
Definition: gnmsPlot.m:6
virtual ~ConstraintContainerBase()
Destructor.
Definition: ConstraintContainerBase-impl.h:30
virtual size_t getTerminalConstraintsCount()=0
Retrieves the number of final constraints.
VectorXs getUpperBoundsIntermediate() const
Retrieves the upper constraint bound on the intermediate constraints.
Definition: ConstraintContainerBase-impl.h:67
CppAD::AD< CppAD::cg::CG< double > > SCALAR
VectorXs getTotalBoundsViolationTerminal()
Retrieves the total violation of the constraints bounds on the terminal constraints.
Definition: ConstraintContainerBase-impl.h:123
virtual void update()=0
Gets called by the setCurrentStateAndControl method. Can be used to update container properties...
virtual VectorXs evaluateTerminal()=0
Evaluates the terminal constraints.
VectorXs getUpperBoundsViolationTerminal()
Retrieves the violation of the upper constraint bound on the terminal constraints.
Definition: ConstraintContainerBase-impl.h:97
size_t getConstraintsCount()
Retrieves the total number of constraints.
Definition: ConstraintContainerBase-impl.h:46
SCALAR t_
Definition: ConstraintContainerBase.h:199
ct::core::StateVector< state_dim > x
Definition: LoadFromFileTest.cpp:20
VectorXs upperBoundsIntermediate_
Definition: ConstraintContainerBase.h:203
VectorXs getLowerBoundsViolationTerminal()
Retrieves the violation of the lower constraint bound on the terminal constraints.
Definition: ConstraintContainerBase-impl.h:105
The ConstraintBase Class is the base class for defining the non-linear optimization constraints...
Definition: ConstraintContainerBase.h:31
state_vector_t x_
Definition: ConstraintContainerBase.h:197
Eigen::Matrix< double, nStates, 1 > state_vector_t
VectorXs getLowerBoundsViolationIntermediate()
Retrieves the violation of the lower constraint bound on the intermediate constraints.
Definition: ConstraintContainerBase-impl.h:89
ConstraintContainerBase()
Default constructor.
Definition: ConstraintContainerBase-impl.h:12