pelib  2.0.0
pelib::AmplSolver Class Reference

#include <AmplSolver.hpp>

Inheritance diagram for pelib::AmplSolver:
[legend]

List of all members.

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 Algebrasolve () const
virtual const Algebrasolve (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

Detailed Description

Definition at line 27 of file AmplSolver.hpp.


Constructor & Destructor Documentation

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 
)

Member Function Documentation

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.


Member Data Documentation

Definition at line 38 of file AmplSolver.hpp.

Definition at line 37 of file AmplSolver.hpp.

Definition at line 37 of file AmplSolver.hpp.

Definition at line 37 of file AmplSolver.hpp.

bool pelib::AmplSolver::showError [protected]

Definition at line 39 of file AmplSolver.hpp.

Definition at line 39 of file AmplSolver.hpp.


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