#include <ialgorithm.h>
Public Types | |
typedef QList< QSharedPointer < IAlgorithm > > | TAlgorithmList |
Public Member Functions | |
virtual | ~IAlgorithm () |
virtual int | getInputCount () const =0 |
virtual QString | getName () const =0 |
virtual bool | hasSettingsDialog () const =0 |
virtual bool | requireCreator () const =0 |
virtual bool | run (const IAutomaton::TAutomataList &input, QSharedPointer< IAutomaton > &result, QString *report=0) const =0 |
virtual void | runSettingsDialog (QWidget *parent=NULL)=0 |
virtual void | setAutomataCreator (const QSharedPointer< IAutomataCreator > &creator)=0 |
Definition at line 9 of file ialgorithm.h.
typedef QList<QSharedPointer<IAlgorithm> > IAlgorithm::TAlgorithmList |
Definition at line 8 of file ialgorithm.h.
virtual IAlgorithm::~IAlgorithm | ( | ) | [inline, virtual] |
Definition at line 10 of file ialgorithm.h.
References getInputCount(), getName(), hasSettingsDialog(), requireCreator(), run(), runSettingsDialog(), and setAutomataCreator().
virtual int IAlgorithm::getInputCount | ( | ) | const [pure virtual] |
Implemented in RemoveEpsilonAlgorithm, RemoveInaccessibleAlgorithm, RemoveUselessAlgorithm, RemoveMultipleInitialsAlgorithm, DeterminizeAlgorithm, MinimalizeAlgorithm, UniteParallelAlgorithm, IntersectionParallelAlgorithm, and PluginHowtoAlgorithm.
Referenced by ~IAlgorithm().
virtual QString IAlgorithm::getName | ( | ) | const [pure virtual] |
Implemented in RemoveEpsilonAlgorithm, RemoveInaccessibleAlgorithm, RemoveUselessAlgorithm, RemoveMultipleInitialsAlgorithm, DeterminizeAlgorithm, MinimalizeAlgorithm, UniteParallelAlgorithm, IntersectionParallelAlgorithm, and PluginHowtoAlgorithm.
Referenced by BasicAlgorithm::run(), SettingsDialog::SettingsDialog(), and ~IAlgorithm().
virtual bool IAlgorithm::hasSettingsDialog | ( | ) | const [pure virtual] |
Implemented in BasicAlgorithm, BasicAlgorithmWithSettings, and PluginHowtoAlgorithm.
Referenced by LoadAutomataDialog::LoadAutomataDialog(), and ~IAlgorithm().
virtual bool IAlgorithm::requireCreator | ( | ) | const [pure virtual] |
Algorithm can implement own IAutomaton, IState and ITransition classes, in that case doesn't require creator to be set
Implemented in BasicAlgorithm, and PluginHowtoAlgorithm.
Referenced by ~IAlgorithm().
virtual bool IAlgorithm::run | ( | const IAutomaton::TAutomataList & | input, | |
QSharedPointer< IAutomaton > & | result, | |||
QString * | report = 0 | |||
) | const [pure virtual] |
Implemented in BasicAlgorithm, and PluginHowtoAlgorithm.
Referenced by ~IAlgorithm().
virtual void IAlgorithm::runSettingsDialog | ( | QWidget * | parent = NULL |
) | [pure virtual] |
Implemented in BasicAlgorithm, BasicAlgorithmWithSettings, and PluginHowtoAlgorithm.
Referenced by LoadAutomataDialog::algorithmSettings(), and ~IAlgorithm().
virtual void IAlgorithm::setAutomataCreator | ( | const QSharedPointer< IAutomataCreator > & | creator | ) | [pure virtual] |
Implemented in BasicAlgorithm, and PluginHowtoAlgorithm.
Referenced by ~IAlgorithm().