/// <summary>
 /// Gets the heuristic value of the search node, for the given heuristic.
 /// </summary>
 /// <param name="heuristic">Heuristic.</param>
 /// <returns>Heuristic value of the search node.</returns>
 public double DetermineHeuristicValue(Heuristics.IHeuristic heuristic)
 {
     return(heuristic.GetValue(this));
 }
Exemple #2
0
 /// <summary>
 /// Gets the heuristic value of the search node, for the given heuristic.
 /// </summary>
 /// <param name="heuristic">Heuristic.</param>
 /// <returns>Heuristic value of the search node.</returns>
 public virtual double DetermineHeuristicValue(Heuristics.IHeuristic heuristic)
 {
     return(double.MaxValue);
 }