Britbot
template<T >
void Britbot.PriorityQueue.HeapPriorityQueue< T >.Swap ( node1,
node2 
) [inline, private]

Definition at line 106 of file HeapPriorityQueue.cs.

        {
            //Swap the nodes
            this._nodes[node1.QueueIndex] = node2;
            this._nodes[node2.QueueIndex] = node1;

            //Swap their indicies
            int temp = node1.QueueIndex;
            node1.QueueIndex = node2.QueueIndex;
            node2.QueueIndex = temp;
        }