opensurgsim
Public Member Functions | List of all members
SurgSim::Math::MlcpSolver Class Referenceabstract

This class provides a solver interface for mixed linear complementarity problems. More...

#include <MlcpSolver.h>

Inheritance diagram for SurgSim::Math::MlcpSolver:
SurgSim::Math::MlcpGaussSeidelSolver

Public Member Functions

 MlcpSolver ()
 Constructor.
 
virtual bool solve (const MlcpProblem &problem, MlcpSolution *solution)=0
 Attempts to solve the specified MLCP problem. More...
 

Detailed Description

This class provides a solver interface for mixed linear complementarity problems.

See also
MlcpProblem

Member Function Documentation

§ solve()

virtual bool SurgSim::Math::MlcpSolver::solve ( const MlcpProblem problem,
MlcpSolution solution 
)
pure virtual

Attempts to solve the specified MLCP problem.

Parameters
problemthe MLCP problem.
[out]solutionthe solution to the problem, if available.
Returns
true if solved (in which case solution will be set to the solution); false if failed.

Implemented in SurgSim::Math::MlcpGaussSeidelSolver.


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