humoto
|
Mixin representing upper bound in an inequality constraint.
t_Base | Base class: humoto::constraints::ConstraintsBase or humoto::TaskBase wrapped with other mixins. |
Definition at line 285 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 & | getUpperBounds () |
Get upper bounds (ub vectors from 'A*x <= ub'). More... | |
const Eigen::VectorXd & | getUpperBounds () const |
Get upper bounds (ub vectors from 'A*x <= ub'). More... | |
Protected Member Functions | |
BoundsUMixin () | |
~BoundsUMixin () | |
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 | ub_ |
|
inlineprotected |
Protected destructor: prevent destruction of the child classes through a base pointer.
Definition at line 296 of file constraints_mixins.h.
|
inlineprotected |
Definition at line 297 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 347 of file constraints_mixins.h.
|
inline |
Get upper bounds (ub vectors from 'A*x <= ub').
Definition at line 333 of file constraints_mixins.h.
|
inline |
Get upper bounds (ub vectors from 'A*x <= ub').
Definition at line 340 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 318 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 304 of file constraints_mixins.h.
|
protected |
Definition at line 288 of file constraints_mixins.h.