User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_shortestpath.heuristiccostmodifier

Table of Contents

TGIS_ShortestPath.HeuristicCostModifier property

DK11 for .NET | TatukGIS.NDK.TGIS_ShortestPath.HeuristicCostModifier | Constructors | Fields | Methods | Properties | Events

Heuristic cost modifier.

Available also on: Delphi | Java | ActiveX | Python.

Syntax

// C#
public Double HeuristicCostModifier
{
  get {}
  set {}
}
' VisualBasic
Public Property HeuristicCostModifier As Double
  Get
  End Get
  Set(ByVal value As Double)
  End Set
End Property
// Oxygene
public
  property HeuristicCostModifier : Double read read;

Value

Type
double
Double

Remarks

By providing a negative value all calculation will be done based on layers coordinate system (w/o use of projection code) which is generally much faster but will work only if layer is equidistant.

Cost modifier for heuristic cost calculation for built in heuristic algorithm.

Set 0 to disable heuristic calculations. General formula for cost will be an average cost for traversing in a straight (as the crow flies) line between current node and the end node.

2022/11/30 19:27

Page Tools