Package org.graphwalker.core.generator
Class AStarPath
java.lang.Object
org.graphwalker.core.generator.PathGeneratorBase<ReachedStopCondition>
org.graphwalker.core.generator.AStarPath
- All Implemented Interfaces:
PathGenerator<ReachedStopCondition>
AStarPath
The AStarPath generator will find the shortest path between 2 elements. Given the current element in the execution context and theReachedStopCondition
the generator will create the shortest path between the 2 elements.
- Author:
- Nils Olsson
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.graphwalker.core.generator.PathGeneratorBase
getContext, getStopCondition, setContext, setStopCondition, toString, toString
-
Constructor Details
-
AStarPath
-
-
Method Details
-
getNextStep
- Specified by:
getNextStepin interfacePathGenerator<ReachedStopCondition>- Overrides:
getNextStepin classPathGeneratorBase<ReachedStopCondition>
-
hasNextStep
public boolean hasNextStep()
-