public Node Pop() { Node result = openSet.GetMinPriorityPair().Value; while (!hashSet.Contains(result)) { result = openSet.GetMinPriorityPair().Value; } return(result); }
public Node Pop() { Node result = openSet.GetMinPriorityPair().Value; while (!hashSet.Contains(result)) { result = openSet.GetMinPriorityPair().Value; } return(result); }