Crocoddyl
ActivationModelQuadFlatExpTpl< _Scalar > Class Template Reference
Inheritance diagram for ActivationModelQuadFlatExpTpl< _Scalar >:
ActivationModelAbstractTpl< _Scalar >

Public Types

typedef ActivationDataAbstractTpl< Scalar > ActivationDataAbstract
 
typedef ActivationModelAbstractTpl< Scalar > Base
 
typedef ActivationDataQuadFlatExpTpl< Scalar > Data
 
typedef MathBaseTpl< Scalar > MathBase
 
typedef MathBase::MatrixXs MatrixXs
 
typedef MathBase::VectorXs VectorXs
 
- Public Types inherited from ActivationModelAbstractTpl< _Scalar >
typedef ActivationDataAbstractTpl< Scalar > ActivationDataAbstract
 
typedef MathBaseTpl< Scalar > MathBase
 
typedef MathBase::MatrixXs MatrixXs
 
typedef MathBase::VectorXs VectorXs
 

Public Member Functions

 ActivationModelQuadFlatExpTpl (const std::size_t &nr, const Scalar &alpha=Scalar(1.))
 
virtual void calc (const boost::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r)
 
virtual void calcDiff (const boost::shared_ptr< ActivationDataAbstract > &data, const Eigen::Ref< const VectorXs > &r)
 
virtual boost::shared_ptr< ActivationDataAbstractcreateData ()
 Create the quadratic-flat-exp activation data. More...
 
Scalar get_alpha () const
 
virtual void print (std::ostream &os) const
 Print relevant information of the quadratic flat-exp model. More...
 
void set_alpha (const Scalar alpha)
 
- Public Member Functions inherited from ActivationModelAbstractTpl< _Scalar >
 ActivationModelAbstractTpl (const std::size_t nr)
 
std::size_t get_nr () const
 

Public Attributes

EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
 
- Public Attributes inherited from ActivationModelAbstractTpl< _Scalar >
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef _Scalar Scalar
 

Protected Attributes

std::size_t nr_
 
- Protected Attributes inherited from ActivationModelAbstractTpl< _Scalar >
std::size_t nr_
 

Detailed Description

template<typename _Scalar>
class crocoddyl::ActivationModelQuadFlatExpTpl< _Scalar >

Definition at line 34 of file quadratic-flat-exp.hpp.

Member Function Documentation

◆ createData()

virtual boost::shared_ptr<ActivationDataAbstract> createData ( )
inlinevirtual

Create the quadratic-flat-exp activation data.

Returns
the activation data

Reimplemented from ActivationModelAbstractTpl< _Scalar >.

Definition at line 111 of file quadratic-flat-exp.hpp.

◆ print()

virtual void print ( std::ostream &  os) const
inlinevirtual

Print relevant information of the quadratic flat-exp model.

Parameters
[out]osOutput stream object

Reimplemented from ActivationModelAbstractTpl< _Scalar >.

Definition at line 125 of file quadratic-flat-exp.hpp.


The documentation for this class was generated from the following file: