#include <ActiveSet.hpp>
Public Member Functions | |
ActiveSet (Index nr) | |
void | reset (void) |
void | active (Index ref, Bound::bound_t type, const Index row) |
Index | activeRow (Index ref, Bound::bound_t type) |
Index | activeRow (const ConstraintRef &cst) |
void | unactiveRow (Index row) |
void | freeze (Index ref) |
Index | nbActive (void) const |
Index | size (void) const |
bool | isFreezed (Index ref) const |
bool | isActive (Index ref) const |
bool | wasActive (Index ref, const Bound::bound_t type) const |
Bound::bound_t | whichBound (Index ref, bool checkActive=false) const |
double | sign (Index ref) const |
Index | map (Index ref) const |
Index | mapInv (Index row) const |
Matrix< Index, Dynamic, 1 > | getIndirection (void) const |
Index | where (Index ref) const |
Index | whichConstraint (Index row) const |
void | dampBoundValue (const ConstraintRef &cst, const double &value) |
std::pair< double, double > | getBoundDamping (const Index &cst) |
void | disp (std::ostream &os, bool classic=true) const |
void | permuteRows (const VectorXi &P) |
operator Matrix< Index, Dynamic, 1 > (void) const | |
Protected Types | |
typedef std::vector< Index > | mapinv_vector_t |
Protected Member Functions | |
bool | isRowFree (Index row) |
Index | getAFreeRow (void) |
void | freeARow (Index row) |
Protected Attributes | |
cstref_vector_t | cstMap |
mapinv_vector_t | cstMapInv |
std::vector< bool > | freerow |
std::vector< bool > | freezed |
Matrix< Bound::bound_t, Dynamic, 1 > | activated |
VectorXd | dampingInf |
VectorXd | dampingSup |
Index | nba |
|
protected |
|
inline |
|
inline |
|
inline |
|
inline |
References soth::ConstraintRef::row, and soth::ConstraintRef::type.
|
inline |
|
inline |
References soth::Bound::BOUND_INF, and soth::Bound::BOUND_SUP.
Referenced by soth::operator<<().
|
inlineprotected |
|
inline |
References soth::Bound::BOUND_NONE, and soth::Bound::BOUND_TWIN.
|
inlineprotected |
|
inline |
|
inline |
|
inline |
References soth::Bound::BOUND_NONE.
|
inline |
References soth::Bound::BOUND_TWIN.
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
void soth::ActiveSet< Indirect >::permuteRows | ( | const VectorXi & | P | ) |
|
inline |
References soth::Bound::BOUND_NONE, and soth::CONSTRAINT_VOID.
|
inline |
References soth::Bound::BOUND_DOUBLE, and soth::Bound::BOUND_INF.
|
inline |
|
inline |
References soth::Bound::BOUND_NONE, and soth::CONSTRAINT_VOID.
|
inline |
|
inline |
|
inline |
References soth::Bound::BOUND_DOUBLE, and soth::Bound::BOUND_NONE.
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |