Interface EstimateEvaluator<T>

Type Parameters:
T - The data type of the estimated weight.

public interface EstimateEvaluator<T>
Evaluator used to estimate the weight of the remaining path from one node to another.
  • Method Summary

    Modifier and Type
    Method
    Description
    getCost(Node node, Node goal)
    Estimate the weight of the remaining path from one node to another.
  • Method Details

    • getCost

      T getCost(Node node, Node goal)
      Estimate the weight of the remaining path from one node to another.
      Parameters:
      node - the node to estimate the weight from.
      goal - the node to estimate the weight to.
      Returns:
      an estimation of the weight of the path from the first node to the second.