User Tools

Site Tools


api:dk11:java:tatukgis.jdk.tgis_shortestpath.heuristiccostmodifier

Table of Contents

TGIS_ShortestPath.HeuristicCostModifier property

DK11 for Java | tatukgis.jdk.TGIS_ShortestPath.HeuristicCostModifier | Constructors | Fields | Methods | Properties | Events

Heuristic cost modifier.

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

Syntax

// Java
public double getHeuristicCostModifier();
 
public void setHeuristicCostModifier(
  double _value
);
// Oxygene
public
  property HeuristicCostModifier : Double read write;

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:35

Page Tools