V
- vertex typepublic interface AStarAdmissibleHeuristic<V>
Modifier and Type | Method and Description |
---|---|
double |
getCostEstimate(V sourceVertex,
V targetVertex)
An admissible "heuristic estimate" of the distance from x, the sourceVertex, to the goal
(usually denoted h(x)).
|
double getCostEstimate(V sourceVertex, V targetVertex)
sourceVertex
- the source vertextargetVertex
- the target vertexCopyright © 2016. All rights reserved.