Frobby  0.9.5
BigattiParams.h
Go to the documentation of this file.
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 
23 class CliParams;
24 
26  public:
27  BigattiParams(const CliParams& cli);
28 
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;
47 };
48 
50 void extractCliValues(BigattiParams& slice, const CliParams& cli);
51 
52 #endif
void addBigattiParams(CliParams &params)
void extractCliValues(BigattiParams &slice, const CliParams &cli)
bool getUseGenericBaseCase() const
Returns whether to detect generic monomial ideals as a base case.
Definition: BigattiParams.h:31
void widenPivot(bool value)
Definition: BigattiParams.h:41
BigattiParams(const CliParams &cli)
const string & getPivot() const
Returns the name of the pivot selection strategy used for pivots splits.
Definition: BigattiParams.h:36
void useGenericBaseCase(bool value)
Definition: BigattiParams.h:37
bool getWidenPivot() const
Returns whether to widen the pivots of pivot splits.
Definition: BigattiParams.h:40
bool _useGenericBaseCase
Definition: BigattiParams.h:46
void setPivot(const string &name)
Definition: BigattiParams.h:32