Mon répertoire pour le bureau d'étude graphes de 3MIC à l'INSA de Toulouse
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BinaryHeapTest.java 396B

123456789101112131415
  1. package org.insa.graphs.algorithm.utils;
  2. public class BinaryHeapTest extends PriorityQueueTest {
  3. @Override
  4. public PriorityQueue<MutableInteger> createQueue() {
  5. return new BinaryHeap<>();
  6. }
  7. @Override
  8. public PriorityQueue<MutableInteger> createQueue(PriorityQueue<MutableInteger> queue) {
  9. return new BinaryHeap<>((BinaryHeap<MutableInteger>) queue);
  10. }
  11. }