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
25class CliParams;
26
27class ScarfParams : public CommonParams {
28 public:
30
35
37 const string& getEnumerationOrder() const {return _enumerationOrder;}
39
41 const string& getDeformationOrder() const {return _deformationOrder;}
43
44 private:
48};
49
52
53#endif
void nameFactoryRegister(NameFactory< AbstractProduct > &factory)
Registers the string returned by ConcreteProduct::getStaticName() to a function that default-construc...
void addScarfParams(CliParams &params)
void extractCliValues(ScarfParams &scarf, const CliParams &cli)
void setDeformToStronglyGeneric(bool value)
Definition ScarfParams.h:34
const string & getDeformationOrder() const
Returns the name of the deformation ordering.
Definition ScarfParams.h:41
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
void setDeformationOrder(const string &name)
Definition ScarfParams.h:42
string _enumerationOrder
Definition ScarfParams.h:46
string _deformationOrder
Definition ScarfParams.h:47
const string & getEnumerationOrder() const
Returns the name of the enumeration ordering.
Definition ScarfParams.h:37
bool _deformStrong
Definition ScarfParams.h:45