BigattiParams.h
Go to the documentation of this file.
/* Frobby: Software for monomial ideal computations.
Copyright (C) 2009 University of Aarhus
Contact Bjarke Hammersholt Roune for license information (www.broune.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
*/
#ifndef BIGATTI_PARAMS_GUARD
#define BIGATTI_PARAMS_GUARD
#include "SliceLikeParams.h"
class CliParams;
class BigattiParams : public SliceLikeParams {
public:
BigattiParams(const CliParams& cli);
bool getUseGenericBaseCase() const {return _useGenericBaseCase;}
void setPivot(const string& name) {_pivot = name;}
const string& getPivot() const {return _pivot;}
void useGenericBaseCase(bool value) {_useGenericBaseCase = value;}
bool getWidenPivot() const {return _widenPivot;}
void widenPivot(bool value) {_widenPivot = value;}
private:
string _pivot;
bool _widenPivot;
bool _useGenericBaseCase;
};
void addBigattiParams(CliParams& params);
void extractCliValues(BigattiParams& slice, const CliParams& cli);
#endif
addBigattiParams
void addBigattiParams(CliParams &params)
extractCliValues
void extractCliValues(BigattiParams &slice, const CliParams &cli)
Definition BigattiParams.cpp:39
SliceLikeParams.h
BigattiParams
Definition BigattiParams.h:25
BigattiParams::getUseGenericBaseCase
bool getUseGenericBaseCase() const
Returns whether to detect generic monomial ideals as a base case.
Definition BigattiParams.h:31
BigattiParams::widenPivot
void widenPivot(bool value)
Definition BigattiParams.h:41
BigattiParams::BigattiParams
BigattiParams(const CliParams &cli)
Definition BigattiParams.cpp:23
BigattiParams::useGenericBaseCase
void useGenericBaseCase(bool value)
Definition BigattiParams.h:37
BigattiParams::_pivot
string _pivot
Definition BigattiParams.h:44
BigattiParams::getWidenPivot
bool getWidenPivot() const
Returns whether to widen the pivots of pivot splits.
Definition BigattiParams.h:40
BigattiParams::_useGenericBaseCase
bool _useGenericBaseCase
Definition BigattiParams.h:46
BigattiParams::getPivot
const string & getPivot() const
Returns the name of the pivot selection strategy used for pivots splits.
Definition BigattiParams.h:36
BigattiParams::setPivot
void setPivot(const string &name)
Definition BigattiParams.h:32
BigattiParams::_widenPivot
bool _widenPivot
Definition BigattiParams.h:45
CliParams
Definition CliParams.h:28
SliceLikeParams::SliceLikeParams
SliceLikeParams()
Definition SliceLikeParams.cpp:23