OptimisationTools.h 296 Bytes
Newer Older
1
#pragma once
Valentin Platzgummer's avatar
Valentin Platzgummer committed
2 3
#include <QObject>

4
#include <functional>
5
#include <QPointF>
6

Valentin Platzgummer's avatar
Valentin Platzgummer committed
7
namespace OptimisationTools {
8 9
    typedef QPointF T;
    bool dijkstraAlgorithm(const QList<T> &elements, int startIndex, int endIndex, QList<T> &elementPath, std::function<double(const T &, const T &)> distance);
Valentin Platzgummer's avatar
Valentin Platzgummer committed
10 11
}

12