#include <idrawalgorithm.h>
Public Member Functions | |
virtual | ~IDrawAlgorithm () |
virtual QList< State * > | drawAutomaton (Editor *editor, const QSharedPointer< IAutomaton > &automaton)=0 |
virtual QString | getName () const =0 |
Definition at line 13 of file idrawalgorithm.h.
virtual IDrawAlgorithm::~IDrawAlgorithm | ( | ) | [inline, virtual] |
Definition at line 16 of file idrawalgorithm.h.
virtual QList<State*> IDrawAlgorithm::drawAutomaton | ( | Editor * | editor, | |
const QSharedPointer< IAutomaton > & | automaton | |||
) | [pure virtual] |
Returns list of currently created states with transitions assigned, just use ItemsAddCommand on it
startPos | is left-top corner of result automaton |
Implemented in NaiveDrawAlgorithm, FarthestFinalDrawAlgorithm, and GraphVizDrawAlgorithm.
virtual QString IDrawAlgorithm::getName | ( | ) | const [pure virtual] |
Implemented in NaiveDrawAlgorithm, FarthestFinalDrawAlgorithm, and GraphVizDrawAlgorithm.