protected override void Cleanup () { // Make sure that the shortest path is set // after the path has been calculated ChooseShortestPath(); ResetFlags(); }