public SubGoalBiDirectionalDijkstraSearch(SubGoalGrid grid) : base(grid)
 {
     fakeEdges    = new Dictionary <long, CostPosition[]>();
     removedNodes = new HashSet <long>();
     subGoalGrid  = grid;
     sizeY        = grid.GetSize().y;
 }
Ejemplo n.º 2
0
 public SubGoalAStarSearch(IGrid grid)
 {
     fakeEdges    = new Dictionary <long, Position[]>();
     removedNodes = new HashSet <long>();
     subGoalGrid  = (SubGoalGrid)grid;
     sizeY        = grid.GetSize().y;
 }