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.

@FunctionalInterface public interface Heuristic<V>
Since:
27.01.2015
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    estimatedCost​(V u, V v)
    Schätzt die Kosten (Distanz) von u nach v ab.
  • Method Details

    • estimatedCost

      double estimatedCost(V u, V v)
      Schätzt die Kosten (Distanz) von u nach v ab.
      Parameters:
      u - Knoten
      v - Knoten
      Returns:
      Geschätzte Kosten.