Public Member Functions | Private Attributes | List of all members
gte::LCPSolver< Real > Class Template Reference

#include <GteLCPSolver.h>

Inheritance diagram for gte::LCPSolver< Real >:
Inheritance graph
[legend]

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 >::VariablemVectorVarBasic
 
std::vector< typename LCPSolverShared< Real >::VariablemVectorVarNonbasic
 

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
 
VariablemVarBasic
 
VariablemVarNonbasic
 

Detailed Description

template<typename Real>
class gte::LCPSolver< Real >

Definition at line 158 of file GteLCPSolver.h.

Constructor & Destructor Documentation

template<typename Real >
gte::LCPSolver< Real >::LCPSolver ( int  n)

Definition at line 562 of file GteLCPSolver.h.

Member Function Documentation

template<typename Real >
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.

Member Data Documentation

template<typename Real >
std::vector<Real> gte::LCPSolver< Real >::mVectorAugmented
private

Definition at line 176 of file GteLCPSolver.h.

template<typename Real >
std::vector<Real> gte::LCPSolver< Real >::mVectorMinRatio
private

Definition at line 178 of file GteLCPSolver.h.

template<typename Real >
std::vector<Real*> gte::LCPSolver< Real >::mVectorPoly
private

Definition at line 180 of file GteLCPSolver.h.

template<typename Real >
std::vector<Real> gte::LCPSolver< Real >::mVectorQMin
private

Definition at line 177 of file GteLCPSolver.h.

template<typename Real >
std::vector<Real> gte::LCPSolver< Real >::mVectorRatio
private

Definition at line 179 of file GteLCPSolver.h.

template<typename Real >
std::vector<typename LCPSolverShared<Real>::Variable> gte::LCPSolver< Real >::mVectorVarBasic
private

Definition at line 174 of file GteLCPSolver.h.

template<typename Real >
std::vector<typename LCPSolverShared<Real>::Variable> gte::LCPSolver< Real >::mVectorVarNonbasic
private

Definition at line 175 of file GteLCPSolver.h.


The documentation for this class was generated from the following file:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06