Frobby 0.10.0
Loading...
Searching...
No Matches
SliceParameters.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 SLICE_PARAMETERS_GUARD
18#define SLICE_PARAMETERS_GUARD
19
20#include "ParameterGroup.h"
21#include "BoolParameter.h"
22#include "StringParameter.h"
23
24class SliceFacade;
25class BigattiFacade;
26
34class SliceParameters : public ParameterGroup {
35 public:
44 SliceParameters(bool exposeBoundParams = false,
45 bool exposeIndependenceParam = true,
46 bool supportBigattiAlgorithm = false);
47
52 void setUseIndependence(bool value);
53
58 void setSplit(const string& split);
59
62 void validateSplit(bool allowLabel, bool allowDegree);
63
67
71 bool getUseBoundElimination() const;
72
76 bool getUseBoundSimplification() const;
77
79 bool getCanonical() const;
80
82 const string& getSplit() const;
83
85 bool getPrintDebug() const;
86
88 bool getPrintStatistics() const;
89
90 private:
91 bool _exposeBoundParam;
92 bool _exposeIndependenceParam;
93
94 BoolParameter _printDebug;
95 BoolParameter _printStatistics;
96 BoolParameter _useBoundElimination;
97 BoolParameter _useBoundSimplification;
98 BoolParameter _useIndependence;
99 BoolParameter _useSimplification;
100 BoolParameter _minimal;
101 BoolParameter _canonical;
102 BoolParameter _useBigattiGeneric;
103 BoolParameter _widenPivot;
104
105 StringParameter _split;
106};
107
108#endif
Definition BigattiFacade.h:32
Definition BoolParameter.h:24
Definition SliceFacade.h:44
bool getPrintStatistics() const
Definition SliceParameters.cpp:195
void validateSplit(bool allowLabel, bool allowDegree)
Definition SliceParameters.cpp:156
bool getCanonical() const
Definition SliceParameters.cpp:148
void validateSplitHilbert()
Definition SliceParameters.cpp:182
void setSplit(const string &split)
Definition SliceParameters.cpp:136
SliceParameters(bool exposeBoundParams=false, bool exposeIndependenceParam=true, bool supportBigattiAlgorithm=false)
Definition SliceParameters.cpp:25
bool getUseBoundElimination() const
Definition SliceParameters.cpp:140
const string & getSplit() const
Definition SliceParameters.cpp:152
bool getUseBoundSimplification() const
Definition SliceParameters.cpp:144
bool getPrintDebug() const
Definition SliceParameters.cpp:191
void setUseIndependence(bool value)
Definition SliceParameters.cpp:132
Definition StringParameter.h:24