AnalyzeAction.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 ANALYZE_ACTION_GUARD
#define ANALYZE_ACTION_GUARD
#include "Action.h"
#include "BoolParameter.h"
#include "IOParameters.h"
#include "IntegerParameter.h"
class AnalyzeConsumer;
class AnalyzeAction : public Action {
public:
AnalyzeAction();
virtual void obtainParameters(vector<Parameter*>& parameters);
virtual void perform();
static const char* staticGetName();
private:
bool requiresWholeIdeal() const;
void analyzeStreaming(AnalyzeConsumer& consumer) const;
void analyzeIdeal(BigIdeal& ideal) const;
IOParameters _io;
IntegerParameter _summaryLevel;
BoolParameter _printLcm;
BoolParameter _printVarCount;
BoolParameter _printGeneratorCount;
BoolParameter _printMaximumExponent;
BoolParameter _printMinimal;
};
#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
AnalyzeAction::_printMaximumExponent
BoolParameter _printMaximumExponent
Definition AnalyzeAction.h:48
AnalyzeAction::_printLcm
BoolParameter _printLcm
Definition AnalyzeAction.h:45
AnalyzeAction::_printGeneratorCount
BoolParameter _printGeneratorCount
Definition AnalyzeAction.h:47
AnalyzeAction::_printMinimal
BoolParameter _printMinimal
Definition AnalyzeAction.h:49
AnalyzeAction::obtainParameters
virtual void obtainParameters(vector< Parameter * > &parameters)
Definition AnalyzeAction.cpp:131
AnalyzeAction::requiresWholeIdeal
bool requiresWholeIdeal() const
Definition AnalyzeAction.cpp:169
AnalyzeAction::staticGetName
static const char * staticGetName()
Definition AnalyzeAction.cpp:220
AnalyzeAction::analyzeIdeal
void analyzeIdeal(BigIdeal &ideal) const
Definition AnalyzeAction.cpp:173
AnalyzeAction::perform
virtual void perform()
Definition AnalyzeAction.cpp:143
AnalyzeAction::_summaryLevel
IntegerParameter _summaryLevel
Definition AnalyzeAction.h:44
AnalyzeAction::_printVarCount
BoolParameter _printVarCount
Definition AnalyzeAction.h:46
AnalyzeAction::analyzeStreaming
void analyzeStreaming(AnalyzeConsumer &consumer) const
Definition AnalyzeAction.cpp:190
AnalyzeAction::AnalyzeAction
AnalyzeAction()
Definition AnalyzeAction.cpp:86
AnalyzeAction::_io
IOParameters _io
Definition AnalyzeAction.h:43
AnalyzeConsumer
Definition AnalyzeAction.cpp:30
BigIdeal
Definition BigIdeal.h:27
BoolParameter
Definition BoolParameter.h:24
IOParameters
Definition IOParameters.h:27
IntegerParameter
Definition IntegerParameter.h:24