28 "Generate a random Frobenius problem instance.",
29 "Generate a random Frobenius problem instance.",
34 "The number of entries in the random instance.",
39 "The largest allowed number of decimal digits for entries in the\n"
52 vector<mpz_class> instance;
57 reportError(
"The largest allowed number of digits must be at least 1.");
BoolParameter _printActions
virtual void obtainParameters(vector< Parameter * > ¶meters)
A facade for random and other kinds of data.
void generateFrobeniusInstance(vector< mpz_class > &instance, size_t entryCount, const mpz_class &maxEntry)
IntegerParameter _entryCount
GenerateFrobeniusAction()
IntegerParameter _maxEntryDigits
static const char * staticGetName()
virtual void obtainParameters(vector< Parameter * > ¶meters)
A facade for input and output of mathematical objects.
void writeFrobeniusInstance(FILE *out, vector< mpz_class > &instance)
unsigned int getValue() const
void reportError(const string &errorMsg)