Package shortestPath
Interface Heuristic<V>
- Type Parameters:
V
- Knotentyp.
- All Known Implementing Classes:
ScotlandYardHeuristic
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 27.01.2015
-
Method Summary
Modifier and TypeMethodDescriptiondouble
estimatedCost(V u, V v)
Schätzt die Kosten (Distanz) von u nach v ab.
-
Method Details
-
estimatedCost
Schätzt die Kosten (Distanz) von u nach v ab.- Parameters:
u
- Knotenv
- Knoten- Returns:
- Geschätzte Kosten.
-