frepple::CommandSolve Class Reference

This command runs a specific solver. More...

#include <model.h>

Inheritance diagram for frepple::CommandSolve:
frepple::utils::Command

List of all members.

Public Member Functions

 CommandSolve ()
void execute ()
string getDescription () const
SolvergetSolver () const
void setSolver (Solver *s)
void undo ()
bool undoable () const

Detailed Description

This command runs a specific solver.

Definition at line 1093 of file model.h.


Constructor & Destructor Documentation

frepple::CommandSolve::CommandSolve (  )  [inline]

Constructor.

Definition at line 1101 of file model.h.


Member Function Documentation

void frepple::CommandSolve::execute (  )  [virtual]

The core of the execute method is a call to the solve() method of the solver.

Implements frepple::utils::Command.

Definition at line 40 of file model/actions.cpp.

string frepple::CommandSolve::getDescription (  )  const [inline, virtual]

Reimplemented from frepple::utils::Command.

Definition at line 1113 of file model.h.

Solver* frepple::CommandSolve::getSolver (  )  const [inline]

Returns the solver being run.

Definition at line 1116 of file model.h.

void frepple::CommandSolve::setSolver ( Solver s  )  [inline]

Updates the solver being used.

Definition at line 1119 of file model.h.

void frepple::CommandSolve::undo (  )  [inline, virtual]

This type of command can't be undone.

Reimplemented from frepple::utils::Command.

Definition at line 1108 of file model.h.

bool frepple::CommandSolve::undoable (  )  const [inline, virtual]

Running a solver can't be undone.

Reimplemented from frepple::utils::Command.

Definition at line 1111 of file model.h.


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

Generated on 25 Feb 2010 for frePPLe by  doxygen 1.6.1