#include <btLemkeAlgorithm.h>
Definition at line 29 of file btLemkeAlgorithm.h.
◆ btLemkeAlgorithm()
btLemkeAlgorithm::btLemkeAlgorithm |
( |
const btMatrixXu & |
M_, |
|
|
const btVectorXu & |
q_, |
|
|
const int & |
DEBUGLEVEL_ = 0 |
|
) |
| |
|
inline |
◆ ~btLemkeAlgorithm()
virtual btLemkeAlgorithm::~btLemkeAlgorithm |
( |
| ) |
|
|
inlinevirtual |
◆ findLexicographicMinimum()
int btLemkeAlgorithm::findLexicographicMinimum |
( |
const btMatrixXu & |
A, |
|
|
const int & |
pivotColIndex |
|
) |
| |
|
protected |
◆ GaussJordanEliminationStep()
void btLemkeAlgorithm::GaussJordanEliminationStep |
( |
btMatrixXu & |
A, |
|
|
int |
pivotRowIndex, |
|
|
int |
pivotColumnIndex, |
|
|
const btAlignedObjectArray< int > & |
basis |
|
) |
| |
|
protected |
◆ getInfo()
int btLemkeAlgorithm::getInfo |
( |
| ) |
|
|
inline |
◆ getSteps()
int btLemkeAlgorithm::getSteps |
( |
void |
| ) |
|
|
inline |
get the number of steps until the solution was found
Definition at line 49 of file btLemkeAlgorithm.h.
◆ greaterZero()
bool btLemkeAlgorithm::greaterZero |
( |
const btVectorXu & |
vector | ) |
|
|
protected |
◆ LexicographicPositive()
bool btLemkeAlgorithm::LexicographicPositive |
( |
const btVectorXu & |
v | ) |
|
|
protected |
◆ setSystem()
◆ solve()
btVectorXu btLemkeAlgorithm::solve |
( |
unsigned int |
maxloops = 0 | ) |
|
solve algorithm adapted from : Fast Implementation of Lemke’s Algorithm for Rigid Body Contact Simulation (John E.
Lloyd)
Definition at line 60 of file btLemkeAlgorithm.cpp.
◆ validBasis()
◆ DEBUGLEVEL
int btLemkeAlgorithm::DEBUGLEVEL |
|
protected |
◆ info
int btLemkeAlgorithm::info |
|
protected |
did the algorithm find a solution
-1 : not successful 0 : successful
Definition at line 99 of file btLemkeAlgorithm.h.
◆ m_M
◆ m_q
◆ steps
unsigned int btLemkeAlgorithm::steps |
|
protected |
number of steps until the Lemke algorithm found a solution
Definition at line 86 of file btLemkeAlgorithm.h.
The documentation for this class was generated from the following files: