pelib
2.0.0
|
#include <Solver.hpp>
Public Member Functions | |
virtual | ~Solver ()=0 |
virtual const Record * | solve () const =0 |
virtual const Record * | solve (std::map< const std::string, double > &statistics) const =0 |
Protected Member Functions | |
virtual void | do_nothing () |
Ancestor class for container classes of derivatives of pelib::Data
Definition at line 28 of file Solver.hpp.
pelib::Solver::~Solver | ( | ) | [pure virtual] |
Destructor
Definition at line 25 of file Solver.cpp.
virtual void pelib::Solver::do_nothing | ( | ) | [inline, protected, virtual] |
For some interesting reason, a pointer to Solver pointing to a derived class is resolved as a Solver by typeinfo if there is no virtual function in the base class. This is an empty virtual function to make sure type_info can resolve the right class name
Definition at line 39 of file Solver.hpp.
virtual const Record* pelib::Solver::solve | ( | ) | const [pure virtual] |
Implemented in pelib::AmplSolver, and pelib::AlgebraSolver.
virtual const Record* pelib::Solver::solve | ( | std::map< const std::string, double > & | statistics | ) | const [pure virtual] |
Implemented in pelib::AmplSolver, and pelib::AlgebraSolver.