![]() |
SWMMVis
6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
|
#include "plot/profilerouter.h"#include <QElapsedTimer>#include <QHash>#include <QSet>#include <algorithm>#include <functional>#include <limits>#include <queue>#include <utility>Namespaces | |
| namespace | ProfileRouter |
Functions | |
| Result | ProfileRouter::enumerateSimplePaths (const Graph &g, int startNode, int endNode, const Options &opts={}) |
Enumerates every simple (no-repeated-node) path between startNode and endNode using DFS with backtracking. | |
| Result | ProfileRouter::kShortestPaths (const Graph &g, int startNode, int endNode, const Options &opts={}) |
Yen's k-shortest simple paths from startNode to endNode. | |
| Result | ProfileRouter::kShortestPathsThrough (const Graph &g, const QVector< int > &waypoints, const Options &opts={}) |
| Routes through a sequence of waypoints (start → w1 → … → end). | |
| int edgeIdx |
| QVector<int> edgeIdxs |
| int neighbor |
| QVector<int> nodes |
| double weight = 0.0 |