Exemplo n.º 1
0
 public void RestartSearch()
 {
     m_grid.CleanupGrid();
     m_grid.ResetNeighbours();
     m_frontierNodes.Clear();
     m_frontierNodes = new PriorityQueue <Node>();
     m_exploredNodes.Clear();
     m_exploredNodes = new List <Node>();
     m_pathNodes.Clear();
     m_pathNodes = new List <Node>();
     ShowColors();
 }