Dummy solver which always fails. More...
#include <roboptim/core/plugin/dummy.hh>
Public Types | |
typedef Solver< Function, boost::mpl::vector< Function > > | parent_t |
Define parent's type. | |
Public Member Functions | |
DummySolver (const problem_t &problem) throw () | |
Build a solver from a problem. | |
virtual | ~DummySolver () throw () |
virtual void | solve () throw () |
Implement the solve algorithm. |
Dummy solver which always fails.
This solver always fails but is always available as it does not rely on the plug-in mechanism.
It is also a good starting point for users that want to develop their own solver.
typedef Solver<Function, boost::mpl::vector<Function> > roboptim::DummySolver::parent_t |
Define parent's type.
roboptim::DummySolver::DummySolver | ( | const problem_t & | problem | ) | throw () [explicit] |
Build a solver from a problem.
problem | problem that will be solved |
roboptim::DummySolver::~DummySolver | ( | ) | throw () [virtual] |
void roboptim::DummySolver::solve | ( | ) | throw () [virtual] |
Implement the solve algorithm.
Implement the solve method as required by the GenericSolver class.
Implements roboptim::GenericSolver.
References roboptim::GenericSolver::result_.