33#ifndef DART_CONSTRAINT_BOXEDLCPSOLVER_HPP_
34#define DART_CONSTRAINT_BOXEDLCPSOLVER_HPP_
52 virtual const std::string&
getType()
const = 0;
88 bool earlyTermination =
false)
92 virtual bool canSolve(
int n,
const double* A) = 0;
A CRTP base class that provides an interface for easily casting to the derived types.
Definition Castable.hpp:58
Definition BoxedLcpSolver.hpp:46
virtual const std::string & getType() const =0
Returns the type.
virtual ~BoxedLcpSolver()=default
Destructor.
virtual bool canSolve(int n, const double *A)=0
virtual bool solve(int n, double *A, double *x, double *b, int nub, double *lo, double *hi, int *findex, bool earlyTermination=false)=0
Solves constriant impulses for a constrained group.
Definition BulletCollisionDetector.cpp:60