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); }
public void Reset() { current = new IndexMinPQ <T>(keys, pq, qp, N); }