Exemple #1
0
 public DStarLiteAlgorithm(GridMarkerController gridMarkerController, IVertexOperations positionResolver, IHeuristicEstimate heuristicEstimate, float timeDelay = 1.0f, float moveTimeDelay = 1.0f)
 {
     this.gridMarkerController = gridMarkerController;
     this.heuristicEstimate    = heuristicEstimate;
     this.positionResolver     = positionResolver;
     this.timeDelay            = timeDelay;
     this.moveTimeDelay        = moveTimeDelay;
 }
Exemple #2
0
 public AStarAlgorithm(GridMarkerController gridMarkerController, IHeuristicEstimate heuristic, float sleepTime = 0.1f)
 {
     this.gridMarkerController = gridMarkerController;
     this.sleepTime            = sleepTime;
     this.heuristic            = heuristic;
 }