humoto
|
Mixin representing lower bound in an inequality constraint.
t_Base | Base class: humoto::constraints::ConstraintsBase or humoto::TaskBase wrapped with other mixins. |
Definition at line 207 of file constraints_mixins.h.
#include <constraints_mixins.h>
Public Member Functions | |
void | copyBoundsTo (Eigen::VectorXd &lb, Eigen::VectorXd &ub, const Location &location) const |
Copy bounds to given vectors. More... | |
Eigen::VectorXd & | getLowerBounds () |
Get lower bounds (lb/ub vectors from 'lb <= A*x <= ub'). More... | |
const Eigen::VectorXd & | getLowerBounds () const |
Get lower bounds (lb/ub vectors from 'lb <= A*x <= ub'). More... | |
Protected Member Functions | |
BoundsLMixin () | |
~BoundsLMixin () | |
Protected destructor: prevent destruction of the child classes through a base pointer. More... | |
void | logBounds (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="constraints") const |
Log bounds. More... | |
void | resetBounds (const std::size_t number_of_constraints, const bool initialize_matrices=false) |
Reset bounds of constraints (b, lb, ub) More... | |
Protected Attributes | |
Eigen::VectorXd | lb_ |
|
inlineprotected |
Protected destructor: prevent destruction of the child classes through a base pointer.
Definition at line 218 of file constraints_mixins.h.
|
inlineprotected |
Definition at line 219 of file constraints_mixins.h.
|
inline |
Copy bounds to given vectors.
[in] | lb | |
[in] | ub | |
[in] | location | offset and length |
Reimplemented in humoto::constraints::BoundsLUMixin< TaskBase >.
Definition at line 267 of file constraints_mixins.h.
|
inline |
Get lower bounds (lb/ub vectors from 'lb <= A*x <= ub').
Definition at line 254 of file constraints_mixins.h.
|
inline |
Get lower bounds (lb/ub vectors from 'lb <= A*x <= ub').
Definition at line 260 of file constraints_mixins.h.
|
inlineprotected |
Log bounds.
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Reimplemented in humoto::constraints::BoundsLUMixin< TaskBase >, and humoto::constraints::BoundsLUMixin< ContainerBase >.
Definition at line 240 of file constraints_mixins.h.
|
inlineprotected |
Reset bounds of constraints (b, lb, ub)
[in] | number_of_constraints | number of constraints |
[in] | initialize_matrices | initialize matrices using defaults |
Reimplemented in humoto::constraints::BoundsLUMixin< TaskBase >, and humoto::constraints::BoundsLUMixin< ContainerBase >.
Definition at line 226 of file constraints_mixins.h.
|
protected |
Definition at line 210 of file constraints_mixins.h.