Frobby
0.9.5
|
A facade for random and other kinds of data. More...
#include <GenerateDataFacade.h>
Public Member Functions | |
GenerateDataFacade (bool printActions) | |
void | generateListIdeal (BigIdeal &ideal, size_t varCount) |
void | generateKingChessIdeal (BigIdeal &ideal, unsigned int rowsAndColumns) |
void | generateKnightChessIdeal (BigIdeal &ideal, unsigned int rowsAndColumns) |
void | generateRookChessIdeal (BigIdeal &ideal, unsigned int n, unsigned int k) |
void | generateMatchingIdeal (BigIdeal &ideal, unsigned int n) |
void | generateTreeIdeal (BigIdeal &ideal, unsigned int varCount) |
void | generateEdgeIdeal (BigIdeal &ideal, size_t varCount, size_t generatorCount) |
void | generateIdeal (BigIdeal &ideal, size_t exponentRange, size_t varCount, size_t generatorCount) |
void | generateFrobeniusInstance (vector< mpz_class > &instance, size_t entryCount, const mpz_class &maxEntry) |
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 random and other kinds of data.
Definition at line 29 of file GenerateDataFacade.h.
GenerateDataFacade::GenerateDataFacade | ( | bool | printActions | ) |
Definition at line 23 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateEdgeIdeal | ( | BigIdeal & | ideal, |
size_t | varCount, | ||
size_t | generatorCount | ||
) |
Definition at line 82 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateFrobeniusInstance | ( | vector< mpz_class > & | instance, |
size_t | entryCount, | ||
const mpz_class & | maxEntry | ||
) |
Definition at line 112 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateIdeal | ( | BigIdeal & | ideal, |
size_t | exponentRange, | ||
size_t | varCount, | ||
size_t | generatorCount | ||
) |
Definition at line 96 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateKingChessIdeal | ( | BigIdeal & | ideal, |
unsigned int | rowsAndColumns | ||
) |
Definition at line 36 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateKnightChessIdeal | ( | BigIdeal & | ideal, |
unsigned int | rowsAndColumns | ||
) |
Definition at line 45 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateListIdeal | ( | BigIdeal & | ideal, |
size_t | varCount | ||
) |
Definition at line 27 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateMatchingIdeal | ( | BigIdeal & | ideal, |
unsigned int | n | ||
) |
Definition at line 63 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateRookChessIdeal | ( | BigIdeal & | ideal, |
unsigned int | n, | ||
unsigned int | k | ||
) |
Definition at line 54 of file GenerateDataFacade.cpp.
void GenerateDataFacade::generateTreeIdeal | ( | BigIdeal & | ideal, |
unsigned int | varCount | ||
) |
Definition at line 72 of file GenerateDataFacade.cpp.