33 #include "qgis_analysis.h"
56 QVariant cost(
int strategyIndex )
const;
61 QVector< QVariant > strategies()
const;
73 int fromVertex()
const;
77 QVector< QVariant > mStrategies;
161 int addEdge(
int fromVertexIdx,
int toVertexIdx,
const QVector< QVariant > &strategies );
166 int vertexCount()
const;
176 int edgeCount()
const;
190 QVector<QgsGraphVertex> mGraphVertices;
192 QVector<QgsGraphEdge> mGraphEdges;
This class implements a graph edge.
QgsGraphEdge()=default
Constructor for QgsGraphEdge.
This class implements a graph vertex.
QgsGraphVertex()=default
Default constructor.
Mathematical graph representation.
QgsGraph()=default
Constructor for QgsGraph.
A class to represent a 2D point.
QList< int > QgsGraphEdgeIds