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