Frobby
0.9.5
|
A facade for using the dynamic programming Frobenius problem algorithm. More...
#include <DynamicFrobeniusFacade.h>
Public Member Functions | |
DynamicFrobeniusFacade (bool printActions) | |
void | computeFrobeniusNumber (const vector< mpz_class > &instance, mpz_class &frobeniusNumber) |
Additional Inherited Members | |
Private Member Functions inherited from Facade | |
Facade (bool printActions) | |
Constructs a facade that prints out what it is doing if printActions is true. More... | |
virtual | ~Facade () |
void | printMessage (const char *message) |
Prints message to standard error if printing is turned on. More... | |
void | beginAction (const char *message) |
Prints message to standard error if printing is turned on, and records the time when the action started. More... | |
void | endAction () |
Prints to standard error the time since the last call to beginAction. More... | |
bool | isPrintingActions () const |
Returns true if printing actions. More... | |
A facade for using the dynamic programming Frobenius problem algorithm.
Definition at line 30 of file DynamicFrobeniusFacade.h.
DynamicFrobeniusFacade::DynamicFrobeniusFacade | ( | bool | printActions | ) |
Definition at line 21 of file DynamicFrobeniusFacade.cpp.
void DynamicFrobeniusFacade::computeFrobeniusNumber | ( | const vector< mpz_class > & | instance, |
mpz_class & | frobeniusNumber | ||
) |
Definition at line 26 of file DynamicFrobeniusFacade.cpp.