Frobby  0.9.5
GenerateDataFacade.h
Go to the documentation of this file.
1 /* Frobby: Software for monomial ideal computations.
2  Copyright (C) 2007 Bjarke Hammersholt Roune (www.broune.com)
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  GNU General Public License for more details.
13 
14  You should have received a copy of the GNU General Public License
15  along with this program. If not, see http://www.gnu.org/licenses/.
16 */
17 #ifndef GENERATE_DATA_FACADE_GUARD
18 #define GENERATE_DATA_FACADE_GUARD
19 
20 #include "Facade.h"
21 #include <vector>
22 
23 class BigIdeal;
24 
29 class GenerateDataFacade : private Facade {
30  public:
31  GenerateDataFacade(bool printActions);
32 
33  void generateListIdeal(BigIdeal& ideal, size_t varCount);
34  void generateKingChessIdeal(BigIdeal& ideal, unsigned int rowsAndColumns);
35  void generateKnightChessIdeal(BigIdeal& ideal, unsigned int rowsAndColumns);
36  void generateRookChessIdeal(BigIdeal& ideal, unsigned int n, unsigned int k);
37  void generateMatchingIdeal(BigIdeal& ideal, unsigned int n);
38 
39  void generateTreeIdeal(BigIdeal& ideal, unsigned int varCount);
40 
42  (BigIdeal& ideal, size_t varCount, size_t generatorCount);
43 
44  void generateIdeal(BigIdeal& ideal,
45  size_t exponentRange,
46  size_t varCount,
47  size_t generatorCount);
48 
49  void generateFrobeniusInstance(vector<mpz_class>& instance,
50  size_t entryCount,
51  const mpz_class& maxEntry);
52 };
53 
54 #endif
This is the super class of all facades.
Definition: Facade.h:32
A facade for random and other kinds of data.
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)