Package org.graphwalker.core.algorithm
Class AStar
java.lang.Object
org.graphwalker.core.algorithm.AStar
- All Implemented Interfaces:
Algorithm
AStar
The AStar implements the A* algorithm. The algorithm calculates the shortest path between two elements.- Author:
- Nils Olsson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNextElement(Element origin, Element destination) getShortestPath(Element origin, Element destination)
-
Constructor Details
-
AStar
-
-
Method Details
-
getNextElement
-
getShortestPath
-