QGIS API Documentation  3.14.0-Pi (9f7028fd23)
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.


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...