|
DART 6.7.3
|
Implementation of projected Gauss-Seidel (PGS) LCP solver. More...
#include <PgsBoxedLcpSolver.hpp>
Classes | |
| struct | Option |
Public Member Functions | |
| const std::string & | getType () const override |
| Returns the type. | |
| void | solve (int n, double *A, double *x, double *b, int nub, double *lo, double *hi, int *findex) override |
| Solves constriant impulses for a constrained group. | |
| bool | canSolve (int n, const double *A) override |
| void | setOption (const Option &option) |
| Sets options. | |
| const Option & | getOption () const |
| Returns options. | |
| template<typename BoxedLcpSolverT > | |
| bool | is () const |
| Get true if this solver and the template parameter (a solver class) are the same type. | |
Static Public Member Functions | |
| static const std::string & | getStaticType () |
| Returns type for this class. | |
Protected Attributes | |
| Option | mOption |
| std::vector< int > | mCacheOrder |
| std::vector< double > | mCacheD |
| Eigen::VectorXd | mCachedNormalizedA |
| Eigen::MatrixXd | mCachedNormalizedB |
| Eigen::VectorXd | mCacheZ |
| Eigen::VectorXd | mCacheOldX |
Implementation of projected Gauss-Seidel (PGS) LCP solver.
|
overridevirtual |
Implements dart::constraint::BoxedLcpSolver.
| const PgsBoxedLcpSolver::Option & dart::constraint::PgsBoxedLcpSolver::getOption | ( | ) | const |
Returns options.
|
static |
Returns type for this class.
|
overridevirtual |
Returns the type.
Implements dart::constraint::BoxedLcpSolver.
|
inherited |
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:
| void dart::constraint::PgsBoxedLcpSolver::setOption | ( | const Option & | option | ) |
Sets options.
|
overridevirtual |
Solves constriant impulses for a constrained group.
Implements dart::constraint::BoxedLcpSolver.
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |
|
protected |