GenerateDataFacade.h
Go to the documentation of this file.
/* Frobby: Software for monomial ideal computations.
Copyright (C) 2007 Bjarke Hammersholt Roune (www.broune.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
*/
#ifndef GENERATE_DATA_FACADE_GUARD
#define GENERATE_DATA_FACADE_GUARD
#include "Facade.h"
#include <vector>
class BigIdeal;
class GenerateDataFacade : private Facade {
public:
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);
};
#endif
Facade.h
BigIdeal
Definition BigIdeal.h:27
Facade::Facade
Facade(bool printActions)
Constructs a facade that prints out what it is doing if printActions is true.
Definition Facade.cpp:20
GenerateDataFacade::generateIdeal
void generateIdeal(BigIdeal &ideal, size_t exponentRange, size_t varCount, size_t generatorCount)
Definition GenerateDataFacade.cpp:96
GenerateDataFacade::generateKingChessIdeal
void generateKingChessIdeal(BigIdeal &ideal, unsigned int rowsAndColumns)
Definition GenerateDataFacade.cpp:36
GenerateDataFacade::generateTreeIdeal
void generateTreeIdeal(BigIdeal &ideal, unsigned int varCount)
Definition GenerateDataFacade.cpp:73
GenerateDataFacade::GenerateDataFacade
GenerateDataFacade(bool printActions)
Definition GenerateDataFacade.cpp:23
GenerateDataFacade::generateEdgeIdeal
void generateEdgeIdeal(BigIdeal &ideal, size_t varCount, size_t generatorCount)
Definition GenerateDataFacade.cpp:83
GenerateDataFacade::generateFrobeniusInstance
void generateFrobeniusInstance(vector< mpz_class > &instance, size_t entryCount, const mpz_class &maxEntry)
Definition GenerateDataFacade.cpp:113
GenerateDataFacade::generateKnightChessIdeal
void generateKnightChessIdeal(BigIdeal &ideal, unsigned int rowsAndColumns)
Definition GenerateDataFacade.cpp:46
GenerateDataFacade::generateRookChessIdeal
void generateRookChessIdeal(BigIdeal &ideal, unsigned int n, unsigned int k)
Definition GenerateDataFacade.cpp:55
GenerateDataFacade::generateMatchingIdeal
void generateMatchingIdeal(BigIdeal &ideal, unsigned int n)
Definition GenerateDataFacade.cpp:64
GenerateDataFacade::generateListIdeal
void generateListIdeal(BigIdeal &ideal, size_t varCount)
Definition GenerateDataFacade.cpp:27