diff options
Diffstat (limited to 'src/data/path.h')
-rw-r--r-- | src/data/path.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/data/path.h b/src/data/path.h index 381d486..3c83170 100644 --- a/src/data/path.h +++ b/src/data/path.h @@ -10,6 +10,12 @@ class Path : public QObject Q_OBJECT public: explicit Path(QObject *parent = nullptr); + int length() const; + void addEdge(Edge *e); + void removeEdges(); + bool isCycle() const; + + QVector<Edge *> edges() const; private: QVector<Edge*> _edges; |