Package org.neo4j.gds.paths.astar
Class AStar.HaversineHeuristic
- java.lang.Object
-
- org.neo4j.gds.paths.astar.AStar.HaversineHeuristic
-
- All Implemented Interfaces:
java.util.function.LongToDoubleFunction,Dijkstra.HeuristicFunction
- Enclosing class:
- AStar
public static class AStar.HaversineHeuristic extends java.lang.Object implements Dijkstra.HeuristicFunction
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleapplyAsDouble(long source)static doubledistance(double sourceLatitude, double sourceLongitude, double targetLatitude, double targetLongitude)
-