pelib
2.0.0
|
#include <AmplSolver.hpp>
Public Member Functions | |
AmplSolver (std::istream &model, const std::string &model_filename, std::istream &run, bool showOutput=false, bool showError=false) | |
AmplSolver (std::istream &model, const std::string &model_filename, std::istream &run, const std::map< const std::string, const Algebra > &data, bool showOutput=false, bool showError=false) | |
virtual Algebra | solve (const std::map< const std::string, const Algebra > &data) const |
virtual Algebra | solve (const std::map< const std::string, const Algebra > &data, std::map< const std::string, double > &statistics) const |
virtual const Algebra * | solve () const |
virtual const Algebra * | solve (std::map< const std::string, double > &statistics) const |
Protected Attributes | |
std::string | model |
std::string | model_file |
std::string | run |
std::map< const std::string, const Algebra > | data |
bool | showOutput |
bool | showError |
Definition at line 27 of file AmplSolver.hpp.
pelib::AmplSolver::AmplSolver | ( | std::istream & | model, |
const std::string & | model_filename, | ||
std::istream & | run, | ||
bool | showOutput = false , |
||
bool | showError = false |
||
) |
pelib::AmplSolver::AmplSolver | ( | std::istream & | model, |
const std::string & | model_filename, | ||
std::istream & | run, | ||
const std::map< const std::string, const Algebra > & | data, | ||
bool | showOutput = false , |
||
bool | showError = false |
||
) |
Algebra AmplSolver::solve | ( | const std::map< const std::string, const Algebra > & | data | ) | const [virtual] |
Implements pelib::AlgebraSolver.
Definition at line 218 of file AmplSolver.cpp.
virtual Algebra pelib::AmplSolver::solve | ( | const std::map< const std::string, const Algebra > & | data, |
std::map< const std::string, double > & | statistics | ||
) | const [virtual] |
Implements pelib::AlgebraSolver.
const Algebra * AmplSolver::solve | ( | ) | const [virtual] |
Implements pelib::AlgebraSolver.
Definition at line 71 of file AmplSolver.cpp.
virtual const Algebra* pelib::AmplSolver::solve | ( | std::map< const std::string, double > & | statistics | ) | const [virtual] |
Implements pelib::AlgebraSolver.
std::map<const std::string, const Algebra> pelib::AmplSolver::data [protected] |
Definition at line 38 of file AmplSolver.hpp.
std::string pelib::AmplSolver::model [protected] |
Definition at line 37 of file AmplSolver.hpp.
std::string pelib::AmplSolver::model_file [protected] |
Definition at line 37 of file AmplSolver.hpp.
std::string pelib::AmplSolver::run [protected] |
Definition at line 37 of file AmplSolver.hpp.
bool pelib::AmplSolver::showError [protected] |
Definition at line 39 of file AmplSolver.hpp.
bool pelib::AmplSolver::showOutput [protected] |
Definition at line 39 of file AmplSolver.hpp.