33 #ifndef DART_CONSTRAINT_BOXEDLCPSOLVER_HPP_
34 #define DART_CONSTRAINT_BOXEDLCPSOLVER_HPP_
40 namespace constraint {
49 virtual const std::string&
getType()
const = 0;
63 template <
typename BoxedLcpSolverT>
81 virtual bool canSolve(
int n,
const double* A) = 0;
Definition: BoxedLcpSolver.hpp:43
virtual ~BoxedLcpSolver()=default
Destructor.
virtual const std::string & getType() const =0
Returns the type.
bool is() const
Get true if this solver and the template parameter (a solver class) are the same type.
Definition: BoxedLcpSolver-impl.hpp:42
virtual bool canSolve(int n, const double *A)=0
virtual void solve(int n, double *A, double *x, double *b, int nub, double *lo, double *hi, int *findex)=0
Solves constriant impulses for a constrained group.
Definition: BulletCollisionDetector.cpp:63