Britbot
template<T >
bool Britbot.PriorityQueue.HeapPriorityQueue< T >.HasHigherPriority ( higher,
lower 
) [inline, private]

Returns true if 'higher' has higher priority than 'lower', false otherwise. Note that calling HasHigherPriority(node, node) (ie. both arguments the same node) will return false.

Definition at line 205 of file HeapPriorityQueue.cs.

        {
            return (higher.Priority < lower.Priority ||
                    (Math.Abs(higher.Priority - lower.Priority) < 0.01 && higher.InsertionIndex < lower.InsertionIndex));
        }