Crevice  0.1
 All Classes Functions Variables Pages
Public Member Functions | List of all members
Solver Class Reference
Collaboration diagram for Solver:
Collaboration graph

Public Member Functions

double getOptionDouble (const std::string &name)
 Gets numeric option value.
std::string getOptionString (const std::string &name)
 Gets character string option value.
void setOptionDouble (const std::string &name, const double &value)
 Sets numeric option value.
void setOptionString (const std::string &name, const std::string &value)
 Sets character string option value.
virtual result solve (Problem problem, const DoubleVector *variableValues)
 Solver ()
 Creates solver.
virtual ~Solver ()
 Destroys solver.

Detailed Description

Definition at line 15 of file Solver.h.

Member Function Documentation

double Solver::getOptionDouble ( const std::string &  name)

Gets numeric option value.

Parameters
namename of option
Returns
value of option

Definition at line 32 of file Solver.cc.

std::string Solver::getOptionString ( const std::string &  name)

Gets character string option value.

Parameters
namename of option
Returns
value of option

Definition at line 41 of file Solver.cc.

void Solver::setOptionDouble ( const std::string &  name,
const double &  value 
)

Sets numeric option value.

Parameters
namename of option
valuevalue of option

Definition at line 50 of file Solver.cc.

void Solver::setOptionString ( const std::string &  name,
const std::string &  value 
)

Sets character string option value.

Parameters
namename of option
valuevalue of option

Definition at line 64 of file Solver.cc.


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