Britbot
template<T >
void Britbot.PriorityQueue.HeapPriorityQueue< T >.UpdatePriority ( node,
double  priority 
) [inline]

This method must be called on a node every time its priority changes while it is in the queue. Forgetting to call this method will result in a corrupted queue! O(log n)

Implements Britbot.PriorityQueue.IPriorityQueue< T >.

Definition at line 238 of file HeapPriorityQueue.cs.

        {
            node.Priority = priority;
            this.OnNodeUpdated(node);
        }