Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gte::LCPSolverShared< Real > Class Template Reference

#include <GteLCPSolver.h>

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

Classes

struct  Variable
 

Public Types

enum  Result {
  HAS_TRIVIAL_SOLUTION, HAS_NONTRIVIAL_SOLUTION, NO_SOLUTION, FAILED_TO_CONVERGE,
  INVALID_INPUT
}
 

Public Member Functions

int GetMaxIterations () const
 
int GetNumIterations () const
 
void SetMaxIterations (int maxIterations)
 

Protected Member Functions

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

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::LCPSolverShared< Real >

Definition at line 36 of file GteLCPSolver.h.

Member Enumeration Documentation

template<typename Real>
enum gte::LCPSolverShared::Result
Enumerator
HAS_TRIVIAL_SOLUTION 
HAS_NONTRIVIAL_SOLUTION 
NO_SOLUTION 
FAILED_TO_CONVERGE 
INVALID_INPUT 

Definition at line 59 of file GteLCPSolver.h.

Constructor & Destructor Documentation

template<typename Real >
gte::LCPSolverShared< Real >::LCPSolverShared ( int  n)
protected

Definition at line 185 of file GteLCPSolver.h.

Member Function Documentation

template<typename Real >
Real const & gte::LCPSolverShared< Real >::Augmented ( int  row,
int  col 
) const
inlineprotected

Definition at line 458 of file GteLCPSolver.h.

template<typename Real >
Real & gte::LCPSolverShared< Real >::Augmented ( int  row,
int  col 
)
inlineprotected

Definition at line 464 of file GteLCPSolver.h.

template<typename Real >
void gte::LCPSolverShared< Real >::Copy ( Real const *  poly0,
Real *  poly1 
)
protected

Definition at line 480 of file GteLCPSolver.h.

template<typename Real >
int gte::LCPSolverShared< Real >::GetMaxIterations ( ) const
inline

Definition at line 216 of file GteLCPSolver.h.

template<typename Real >
int gte::LCPSolverShared< Real >::GetNumIterations ( ) const
inline

Definition at line 222 of file GteLCPSolver.h.

template<typename Real >
bool gte::LCPSolverShared< Real >::LessThan ( Real const *  poly0,
Real const *  poly1 
)
protected

Definition at line 489 of file GteLCPSolver.h.

template<typename Real >
bool gte::LCPSolverShared< Real >::LessThanZero ( Real const *  poly)
protected

Definition at line 508 of file GteLCPSolver.h.

template<typename Real >
void gte::LCPSolverShared< Real >::MakeZero ( Real *  poly)
protected

Definition at line 471 of file GteLCPSolver.h.

template<typename Real >
void gte::LCPSolverShared< Real >::Multiply ( Real const *  poly,
Real  scalar,
Real *  product 
)
protected

Definition at line 527 of file GteLCPSolver.h.

template<typename Real >
void gte::LCPSolverShared< Real >::SetMaxIterations ( int  maxIterations)
inline

Definition at line 210 of file GteLCPSolver.h.

template<typename Real >
bool gte::LCPSolverShared< Real >::Solve ( Real const *  q,
Real const *  M,
Real *  w,
Real *  z,
Result result 
)
protected

Definition at line 228 of file GteLCPSolver.h.

Member Data Documentation

template<typename Real>
Real* gte::LCPSolverShared< Real >::mAugmented
protected

Definition at line 124 of file GteLCPSolver.h.

template<typename Real>
int gte::LCPSolverShared< Real >::mDimension
protected

Definition at line 111 of file GteLCPSolver.h.

template<typename Real>
int gte::LCPSolverShared< Real >::mMaxIterations
protected

Definition at line 112 of file GteLCPSolver.h.

template<typename Real>
Real* gte::LCPSolverShared< Real >::mMinRatio
protected

Definition at line 126 of file GteLCPSolver.h.

template<typename Real>
int gte::LCPSolverShared< Real >::mNumCols
protected

Definition at line 123 of file GteLCPSolver.h.

template<typename Real>
int gte::LCPSolverShared< Real >::mNumIterations
protected

Definition at line 113 of file GteLCPSolver.h.

template<typename Real>
Real** gte::LCPSolverShared< Real >::mPoly
protected

Definition at line 128 of file GteLCPSolver.h.

template<typename Real>
Real* gte::LCPSolverShared< Real >::mQMin
protected

Definition at line 125 of file GteLCPSolver.h.

template<typename Real>
Real* gte::LCPSolverShared< Real >::mRatio
protected

Definition at line 127 of file GteLCPSolver.h.

template<typename Real>
Variable* gte::LCPSolverShared< Real >::mVarBasic
protected

Definition at line 121 of file GteLCPSolver.h.

template<typename Real>
Variable* gte::LCPSolverShared< Real >::mVarNonbasic
protected

Definition at line 122 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