Public Types | |
enum | { Options = traits<Derived>::Options } |
typedef Eigen::Matrix< bool, Eigen::Dynamic, 1, Options > | BooleanVector |
typedef traits< Derived >::ConstraintData | ConstraintData |
typedef std::vector< Eigen::DenseIndex > | IndexVector |
typedef traits< Derived >::Scalar | Scalar |
![]() | |
typedef traits< Derived >::Scalar | Scalar |
Public Member Functions | |
template<int Options, template< typename, int > class JointCollectionTpl> | |
void | calc (const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, ConstraintData &cdata) const |
Evaluate the constraint values at the current state given by data and store the results in cdata. | |
template<typename NewScalar > | |
CastType< NewScalar, Derived >::type | cast () const |
ConstraintData | createData () const |
Derived & | derived () |
const Derived & | derived () const |
template<typename JacobianMatrix , int Options, template< typename, int > class JointCollectionTpl> | |
void | jacobian (const ModelTpl< Scalar, Options, JointCollectionTpl > &model, const DataTpl< Scalar, Options, JointCollectionTpl > &data, ConstraintData &cdata, const Eigen::MatrixBase< JacobianMatrix > &jacobian_matrix) const |
template<typename OtherDerived > | |
ConstraintModelBase & | operator= (const ConstraintModelBase< OtherDerived > &other) |
template<typename OtherDerived > | |
bool | operator== (const ConstraintModelBase< OtherDerived > &other) const |
Public Attributes | |
IndexVector | colwise_span_indexes |
Indexes of the columns spanned by the constraints. | |
BooleanVector | colwise_sparsity |
Sparsity pattern associated to the constraint;. | |
std::string | name |
Name of the constraint. | |
Protected Member Functions | |
ConstraintModelBase () | |
Default constructor. | |
template<int Options, template< typename, int > class JointCollectionTpl> | |
ConstraintModelBase (const ModelTpl< Scalar, Options, JointCollectionTpl > &model) | |
ConstraintModelBase & | base () |
const ConstraintModelBase & | base () const |
Definition at line 15 of file constraint-model-base.hpp.
Definition at line 24 of file constraint-model-base.hpp.
Definition at line 22 of file constraint-model-base.hpp.
Definition at line 26 of file constraint-model-base.hpp.
Definition at line 17 of file constraint-model-base.hpp.
Definition at line 18 of file constraint-model-base.hpp.
|
inlineprotected |
Definition at line 99 of file constraint-model-base.hpp.
|
inlineprotected |
Default constructor.
Definition at line 107 of file constraint-model-base.hpp.
|
inlineprotected |
Definition at line 111 of file constraint-model-base.hpp.
|
inlineprotected |
Definition at line 115 of file constraint-model-base.hpp.
|
inline |
Evaluate the constraint values at the current state given by data and store the results in cdata.
Definition at line 46 of file constraint-model-base.hpp.
Definition at line 38 of file constraint-model-base.hpp.
|
inline |
Definition at line 92 of file constraint-model-base.hpp.
|
inline |
Definition at line 28 of file constraint-model-base.hpp.
Definition at line 32 of file constraint-model-base.hpp.
|
inline |
Definition at line 55 of file constraint-model-base.hpp.
|
inline |
Definition at line 83 of file constraint-model-base.hpp.
|
inline |
Definition at line 76 of file constraint-model-base.hpp.
IndexVector colwise_span_indexes |
Indexes of the columns spanned by the constraints.
Definition at line 73 of file constraint-model-base.hpp.
BooleanVector colwise_sparsity |
Sparsity pattern associated to the constraint;.
Definition at line 70 of file constraint-model-base.hpp.
std::string name |
Name of the constraint.
Definition at line 67 of file constraint-model-base.hpp.