DART
6.7.3
|
#include <BoxedLcpSolver.hpp>
Public Member Functions | |
virtual | ~BoxedLcpSolver ()=default |
Destructor. More... | |
virtual const std::string & | getType () const =0 |
Returns the type. More... | |
template<typename BoxedLcpSolverT > | |
bool | is () const |
Get true if this solver and the template parameter (a solver class) are the same type. More... | |
virtual void | solve (int n, double *A, double *x, double *b, int nub, double *lo, double *hi, int *findex)=0 |
Solves constriant impulses for a constrained group. More... | |
virtual bool | canSolve (int n, const double *A)=0 |
|
virtualdefault |
Destructor.
|
pure virtual |
Implemented in dart::constraint::PgsBoxedLcpSolver, and dart::constraint::DantzigBoxedLcpSolver.
|
pure virtual |
Returns the type.
Implemented in dart::constraint::PgsBoxedLcpSolver, and dart::constraint::DantzigBoxedLcpSolver.
bool dart::constraint::BoxedLcpSolver::is |
Get true if this solver and the template parameter (a solver class) are the same type.
This function is a syntactic sugar, which is identical to:
.
Example code:
|
pure virtual |
Solves constriant impulses for a constrained group.
Implemented in dart::constraint::PgsBoxedLcpSolver, and dart::constraint::DantzigBoxedLcpSolver.