Пример #1
0
 bool PqueueHasNext(SplayTree<int> pqueue, int next, int[] pos, IList<IList<int>> invindex)
 {
     return invindex[next][pos[next]] + 1 == pqueue.GetFirstWithSplay ();
 }