#include <GteLCPSolver.h>
Public Member Functions | |
LCPSolver (int n) | |
bool | Solve (std::vector< Real > const &q, std::vector< Real > const &M, std::vector< Real > &w, std::vector< Real > &z, typename LCPSolverShared< Real >::Result *result=nullptr) |
Public Member Functions inherited from gte::LCPSolverShared< Real > | |
int | GetMaxIterations () const |
int | GetNumIterations () const |
void | SetMaxIterations (int maxIterations) |
Private Attributes | |
std::vector< Real > | mVectorAugmented |
std::vector< Real > | mVectorMinRatio |
std::vector< Real * > | mVectorPoly |
std::vector< Real > | mVectorQMin |
std::vector< Real > | mVectorRatio |
std::vector< typename LCPSolverShared< Real >::Variable > | mVectorVarBasic |
std::vector< typename LCPSolverShared< Real >::Variable > | mVectorVarNonbasic |
Additional Inherited Members | |
Public Types inherited from gte::LCPSolverShared< Real > | |
enum | Result { HAS_TRIVIAL_SOLUTION, HAS_NONTRIVIAL_SOLUTION, NO_SOLUTION, FAILED_TO_CONVERGE, INVALID_INPUT } |
Protected Member Functions inherited from gte::LCPSolverShared< Real > | |
Real const & | Augmented (int row, int col) const |
Real & | Augmented (int row, int col) |
void | Copy (Real const *poly0, Real *poly1) |
LCPSolverShared (int n) | |
bool | LessThan (Real const *poly0, Real const *poly1) |
bool | LessThanZero (Real const *poly) |
void | MakeZero (Real *poly) |
void | Multiply (Real const *poly, Real scalar, Real *product) |
bool | Solve (Real const *q, Real const *M, Real *w, Real *z, Result *result) |
Protected Attributes inherited from gte::LCPSolverShared< Real > | |
Real * | mAugmented |
int | mDimension |
int | mMaxIterations |
Real * | mMinRatio |
int | mNumCols |
int | mNumIterations |
Real ** | mPoly |
Real * | mQMin |
Real * | mRatio |
Variable * | mVarBasic |
Variable * | mVarNonbasic |
Definition at line 158 of file GteLCPSolver.h.
gte::LCPSolver< Real >::LCPSolver | ( | int | n | ) |
Definition at line 562 of file GteLCPSolver.h.
bool gte::LCPSolver< Real >::Solve | ( | std::vector< Real > const & | q, |
std::vector< Real > const & | M, | ||
std::vector< Real > & | w, | ||
std::vector< Real > & | z, | ||
typename LCPSolverShared< Real >::Result * | result = nullptr |
||
) |
Definition at line 588 of file GteLCPSolver.h.
|
private |
Definition at line 176 of file GteLCPSolver.h.
|
private |
Definition at line 178 of file GteLCPSolver.h.
|
private |
Definition at line 180 of file GteLCPSolver.h.
|
private |
Definition at line 177 of file GteLCPSolver.h.
|
private |
Definition at line 179 of file GteLCPSolver.h.
|
private |
Definition at line 174 of file GteLCPSolver.h.
|
private |
Definition at line 175 of file GteLCPSolver.h.