TransformAction.h
Go to the documentation of this file.
/* Frobby: Software for monomial ideal computations.
Copyright (C) 2007 Bjarke Hammersholt Roune (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 TRANSFORM_ACTION_GUARD
#define TRANSFORM_ACTION_GUARD
#include "Action.h"
#include "IOParameters.h"
#include "BoolParameter.h"
#include "IntegerParameter.h"
class BigIdeal;
class TransformAction : public Action {
public:
TransformAction();
virtual void obtainParameters(vector<Parameter*>& parameters);
virtual void perform();
static const char* staticGetName();
private:
static bool compareIdeals(const BigIdeal* a, const BigIdeal* b);
IOParameters _io;
BoolParameter _canonicalize;
BoolParameter _sort;
BoolParameter _unique;
BoolParameter _minimize;
BoolParameter _deform;
BoolParameter _radical;
BoolParameter _product;
BoolParameter _addPurePowers;
BoolParameter _trimVariables;
BoolParameter _transpose;
BoolParameter _swap01;
IntegerParameter _projectVar;
};
#endif
Action.h
BoolParameter.h
IOParameters.h
IntegerParameter.h
Action::Action
Action(const char *name, const char *shortDescription, const char *description, bool acceptsNonParameter)
Definition Action.cpp:46
BigIdeal
Definition BigIdeal.h:27
BoolParameter
Definition BoolParameter.h:24
IOParameters
Definition IOParameters.h:27
IntegerParameter
Definition IntegerParameter.h:24
TransformAction::compareIdeals
static bool compareIdeals(const BigIdeal *a, const BigIdeal *b)
Definition TransformAction.cpp:227
TransformAction::_deform
BoolParameter _deform
Definition TransformAction.h:45
TransformAction::TransformAction
TransformAction()
Definition TransformAction.cpp:30
TransformAction::_canonicalize
BoolParameter _canonicalize
Definition TransformAction.h:41
TransformAction::_addPurePowers
BoolParameter _addPurePowers
Definition TransformAction.h:48
TransformAction::_transpose
BoolParameter _transpose
Definition TransformAction.h:50
TransformAction::_io
IOParameters _io
Definition TransformAction.h:40
TransformAction::_swap01
BoolParameter _swap01
Definition TransformAction.h:51
TransformAction::obtainParameters
virtual void obtainParameters(vector< Parameter * > &parameters)
Definition TransformAction.cpp:108
TransformAction::_minimize
BoolParameter _minimize
Definition TransformAction.h:44
TransformAction::staticGetName
static const char * staticGetName()
Definition TransformAction.cpp:223
TransformAction::_product
BoolParameter _product
Definition TransformAction.h:47
TransformAction::_unique
BoolParameter _unique
Definition TransformAction.h:43
TransformAction::_sort
BoolParameter _sort
Definition TransformAction.h:42
TransformAction::_radical
BoolParameter _radical
Definition TransformAction.h:46
TransformAction::perform
virtual void perform()
Definition TransformAction.cpp:125
TransformAction::_trimVariables
BoolParameter _trimVariables
Definition TransformAction.h:49
TransformAction::_projectVar
IntegerParameter _projectVar
Definition TransformAction.h:52