16 #ifndef QGSNETWORKDISTANCESTRATEGY_H 
   17 #define QGSNETWORKDISTANCESTRATEGY_H 
   20 #include "qgis_analysis.h" 
   32     QVariant 
cost( 
double distance, 
const QgsFeature & ) 
const override;
 
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Strategy for calculating edge cost based on its length.
QgsNetworkStrategy defines strategy used for calculation of the edge cost.
virtual QVariant cost(double distance, const QgsFeature &f) const =0
Returns edge cost.