Пример #1
0
        public Node Pop()
        {
            Node result = openSet.GetMinPriorityPair().Value;

            while (!hashSet.Contains(result))
            {
                result = openSet.GetMinPriorityPair().Value;
            }

            return(result);
        }