Dummy solver which always fails. More...
#include <roboptim/core/plugin/dummy-td.hh>
Public Types | |
typedef Solver < TwiceDifferentiableFunction, boost::mpl::vector < TwiceDifferentiableFunction > > | parent_t |
Define parent's type. | |
Public Member Functions | |
DummySolverTd (const problem_t &problem) | |
Build a solver from a problem. | |
virtual | ~DummySolverTd () |
virtual void | solve () |
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<TwiceDifferentiableFunction, boost::mpl::vector<TwiceDifferentiableFunction> > roboptim::DummySolverTd::parent_t |
Define parent's type.
roboptim::DummySolverTd::DummySolverTd | ( | const problem_t & | problem | ) | [explicit] |
Build a solver from a problem.
problem | problem that will be solved |
roboptim::DummySolverTd::~DummySolverTd | ( | ) | [virtual] |
void roboptim::DummySolverTd::solve | ( | ) | [virtual] |
Implement the solve algorithm.
Implement the solve method as required by the GenericSolver class.
Implements roboptim::GenericSolver.
References roboptim::GenericSolver::result_.