humoto
|
Active set corresponding to a hierarchy of Constraints.
Definition at line 278 of file active_set.h.
#include <active_set.h>
Public Member Functions | |
void | initialize (const std::size_t number_of_levels, const std::vector< std::size_t > &number_of_constraints) |
Initialize active set. More... | |
void | log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="active_set") const |
Log an active set. More... | |
const humoto::ActiveSetConstraints & | operator[] (const std::size_t level_index) const |
Access active set of a given level (const) More... | |
humoto::ActiveSetConstraints & | operator[] (const std::size_t level_index) |
Access active set of a given level. More... | |
void | reset () |
Reset active set. More... | |
void | set (const std::size_t level_index, const ConstraintActivationType::Type type) |
Set type of all constraints on the given level. More... | |
std::size_t | size () const |
Size of the active set. More... | |
Private Attributes | |
std::vector< ActiveSetConstraints > | data_ |
|
inline |
Initialize active set.
[in] | number_of_levels | number of levels |
[in] | number_of_constraints | number of constraints for each level |
Definition at line 353 of file active_set.h.
|
inline |
Log an active set.
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Definition at line 373 of file active_set.h.
|
inline |
Access active set of a given level (const)
[in] | level_index | index of the level |
Definition at line 292 of file active_set.h.
|
inline |
Access active set of a given level.
[in] | level_index | index of the level |
Definition at line 306 of file active_set.h.
|
inline |
Reset active set.
Definition at line 341 of file active_set.h.
|
inline |
Set type of all constraints on the given level.
[in] | level_index | index of the level |
[in] | type | type of the constraints |
Definition at line 319 of file active_set.h.
|
inline |
|
private |
Definition at line 281 of file active_set.h.