示例#1
0
 public IndexMinPQEnumerator(T[] keys, int[] pq, int[] qp, int N)
 {
     this.keys = keys;
     this.pq   = pq;
     this.qp   = qp;
     this.N    = N;
     current   = new IndexMinPQ <T>(keys, pq, qp, N);
 }
示例#2
0
 public void Reset()
 {
     current = new IndexMinPQ <T>(keys, pq, qp, N);
 }