37 unsigned int rowsAndColumns) {
46 (
BigIdeal& ideal,
unsigned int rowsAndColumns) {
55 (
BigIdeal& ideal,
unsigned int n,
unsigned int k) {
74 unsigned int varCount) {
83 (
BigIdeal& ideal,
size_t varCount,
size_t generatorCount) {
91 "generators than requested.\n");
99 size_t generatorCount) {
107 "generators than requested.\n");
115 const mpz_class& maxEntry) {
116 beginAction(
"Generating random Frobenius instance.");
This is the super class of all facades.
void beginAction(const char *message)
Prints message to standard error if printing is turned on, and records the time when the action start...
void endAction()
Prints to standard error the time since the last call to beginAction.
void generateIdeal(BigIdeal &ideal, size_t exponentRange, size_t varCount, size_t generatorCount)
void generateKingChessIdeal(BigIdeal &ideal, unsigned int rowsAndColumns)
void generateTreeIdeal(BigIdeal &ideal, unsigned int varCount)
GenerateDataFacade(bool printActions)
void generateEdgeIdeal(BigIdeal &ideal, size_t varCount, size_t generatorCount)
void generateFrobeniusInstance(vector< mpz_class > &instance, size_t entryCount, const mpz_class &maxEntry)
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 generateListIdeal(BigIdeal &ideal, size_t varCount)
void displayNote(const string &msg)
Display msg to standard error in a way that indicates that this is something that the user should tak...
This file contains functions for printing strings to standard error.
void generateRandomFrobeniusInstance(vector< mpz_class > &instance, size_t entryCount, const mpz_class &maxEntry)
Generate a random vector of numbers whose gcd is 1.
bool generateRandomIdeal(BigIdeal &bigIdeal, size_t exponentRange, size_t variableCount, size_t generatorCount)
Generate a random ideal with exponents in the range [0, exponentRange].
bool generateRandomEdgeIdeal(BigIdeal &bigIdeal, size_t variableCount, size_t generatorCount)
Generate a random ideal where every edge is a product of two different variables.
void generateLinkedListIdeal(BigIdeal &ideal, size_t variableCount)
Generate an ideal of the form , and so on.
This file contains functions that generate data.