Frobby 0.10.0
Loading...
Searching...
No Matches
BigattiParams.h
1/* Frobby: Software for monomial ideal computations.
2 Copyright (C) 2009 University of Aarhus
3 Contact Bjarke Hammersholt Roune for license information (www.broune.com)
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see http://www.gnu.org/licenses/.
17*/
18#ifndef BIGATTI_PARAMS_GUARD
19#define BIGATTI_PARAMS_GUARD
20
21#include "SliceLikeParams.h"
22
23class CliParams;
24
25class BigattiParams : public SliceLikeParams {
26 public:
27 BigattiParams(const CliParams& cli);
28
31 bool getUseGenericBaseCase() const {return _useGenericBaseCase;}
32 void setPivot(const string& name) {_pivot = name;}
33
36 const string& getPivot() const {return _pivot;}
37 void useGenericBaseCase(bool value) {_useGenericBaseCase = value;}
38
40 bool getWidenPivot() const {return _widenPivot;}
41 void widenPivot(bool value) {_widenPivot = value;}
42
43 private:
44 string _pivot;
45 bool _widenPivot;
46 bool _useGenericBaseCase;
47};
48
49void addBigattiParams(CliParams& params);
50void extractCliValues(BigattiParams& slice, const CliParams& cli);
51
52#endif
Definition BigattiParams.h:25
bool getUseGenericBaseCase() const
Definition BigattiParams.h:31
bool getWidenPivot() const
Definition BigattiParams.h:40
const string & getPivot() const
Definition BigattiParams.h:36
Definition CliParams.h:28