|
Britbot
|
|
template<T >
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));
}
|
1.7.6.1