Frobby  0.9.5
ScarfParams.h
Go to the documentation of this file.
1 /* Frobby: Software for monomial ideal computations.
2  Copyright (C) 2010 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 SCARF_PARAMS_GUARD
19 #define SCARF_PARAMS_GUARD
20 
21 #include "CommonParams.h"
22 
23 #include <string>
24 
25 class CliParams;
26 
27 class ScarfParams : public CommonParams {
28  public:
29  ScarfParams(CliParams& cli);
30 
34  void setDeformToStronglyGeneric(bool value) {_deformStrong = value;}
35 
37  const string& getEnumerationOrder() const {return _enumerationOrder;}
38  void setEnumerationOrder(const string& name) {_enumerationOrder = name;}
39 
41  const string& getDeformationOrder() const {return _deformationOrder;}
42  void setDeformationOrder(const string& name) {_deformationOrder = name;}
43 
44  private:
48 };
49 
50 void addScarfParams(CliParams& params);
51 void extractCliValues(ScarfParams& scarf, const CliParams& cli);
52 
53 #endif
void addScarfParams(CliParams &params)
Definition: ScarfParams.cpp:43
void extractCliValues(ScarfParams &scarf, const CliParams &cli)
Definition: ScarfParams.cpp:70
const string & getDeformationOrder() const
Returns the name of the deformation ordering.
Definition: ScarfParams.h:41
void setDeformToStronglyGeneric(bool value)
Definition: ScarfParams.h:34
ScarfParams(CliParams &cli)
Definition: ScarfParams.cpp:36
bool getDeformToStronglyGeneric() const
Returns true if deforming to a strongly generic ideal.
Definition: ScarfParams.h:33
void setEnumerationOrder(const string &name)
Definition: ScarfParams.h:38
const string & getEnumerationOrder() const
Returns the name of the enumeration ordering.
Definition: ScarfParams.h:37
void setDeformationOrder(const string &name)
Definition: ScarfParams.h:42
string _enumerationOrder
Definition: ScarfParams.h:46
string _deformationOrder
Definition: ScarfParams.h:47
bool _deformStrong
Definition: ScarfParams.h:45