Frobby 0.10.0
Loading...
Searching...
No Matches
GenerateDataFacade.h
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
23class BigIdeal;
24
29class 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
41 void generateEdgeIdeal
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
Definition BigIdeal.h:27
Facade(bool printActions)
Definition Facade.cpp:20