ajout fichier explications

This commit is contained in:
Bezza Younes 2025-04-04 08:52:27 +02:00
parent c539e72f6b
commit 8e44b2daf6
2 changed files with 4 additions and 1 deletions

View file

@ -311,7 +311,8 @@ public abstract class PriorityQueueTest {
Assume.assumeFalse(queue.isEmpty());
int min = Collections.min(Arrays.asList(parameters.data)).get();
for (MutableInteger mi : parameters.data) {
// Update value before removing it. This is what happens when updating a Dijkstra label before updating it.
// Update value before removing it. This is what happens when updating a
// Dijkstra label before updating it.
mi.set(--min);
queue.remove(mi);
assertEquals(parameters.data.length - 1, queue.size());

2
explications.txt Normal file
View file

@ -0,0 +1,2 @@
on implémente les graphes avec des listes d'adjacences car les graphes routiers sont planaires