QGIS API Documentation  3.0.2-Girona (307d082)
Classes
qgsnetworkstrategy.h File Reference
#include <QVariant>
#include "qgsfeature.h"
#include "qgsfeaturerequest.h"
#include "qgis_analysis.h"
Include dependency graph for qgsnetworkstrategy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsNetworkStrategy
 QgsNetworkStrategy defines strategy used for calculation of the edge cost. For example it can take into account travel distance, amount of time or money. Currently there are two strategies implemented in the analysis library: QgsNetworkDistanceStrategy and QgsNetworkSpeedStrategy. QgsNetworkStrategy implemented using "strategy" design pattern. More...