Exemplo n.º 1
0
 public PathSearcher(EHeuristicTypes heuristicType, bool allowDiagonal)
 {
     this._heuristicCalculator = new HeuristicCalculator(heuristicType);
     this._allowDiagonal       = allowDiagonal;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Default constructor needs a hueristic, as we don't want it to change half way through
 /// </summary>
 /// <param name="heuristicType"></param>
 public HeuristicCalculator(EHeuristicTypes heuristicType)
 {
     this._hueristicType = heuristicType;
 }