From a53be0b05723089154c80ea4d4fef5f889e3221b Mon Sep 17 00:00:00 2001 From: Brendan Saint-Germes Date: Fri, 29 May 2026 20:07:21 +0200 Subject: [PATCH] =?UTF-8?q?autre:=20Retrait=20commentaires=20inutiles=20et?= =?UTF-8?q?=20passage=20=C3=A0=20Java=2021=20pour=20la=20m=C3=A9thode=20Li?= =?UTF-8?q?st#reversed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../insa/graphs/algorithm/shortestpath/AStarAlgorithm.java | 6 ------ .../algorithm/shortestpath/ShortestPathAlgorithmTest.java | 4 ---- pom.xml | 2 +- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/AStarAlgorithm.java b/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/AStarAlgorithm.java index d76e03b..d447351 100644 --- a/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/AStarAlgorithm.java +++ b/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/AStarAlgorithm.java @@ -1,11 +1,5 @@ package org.insa.graphs.algorithm.shortestpath; -import java.util.HashMap; - -import org.insa.graphs.algorithm.ArcInspectorFactory; -import org.insa.graphs.algorithm.AbstractInputData.Mode; -import org.insa.graphs.algorithm.utils.BinaryHeap; -import org.insa.graphs.model.Arc; import org.insa.graphs.model.Node; public class AStarAlgorithm extends DijkstraAlgorithm { diff --git a/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/ShortestPathAlgorithmTest.java b/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/ShortestPathAlgorithmTest.java index f979098..b82a3e1 100644 --- a/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/ShortestPathAlgorithmTest.java +++ b/be-graphes-algos/src/test/java/org/insa/graphs/algorithm/shortestpath/ShortestPathAlgorithmTest.java @@ -10,16 +10,12 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collection; -import java.util.Collections; import java.util.List; -import java.util.Random; import java.util.stream.Collectors; import org.insa.graphs.algorithm.ArcInspector; import org.insa.graphs.algorithm.ArcInspectorFactory; -import org.insa.graphs.algorithm.AbstractInputData.Mode; import org.insa.graphs.algorithm.AbstractSolution.Status; import org.insa.graphs.model.Arc; import org.insa.graphs.model.Graph; diff --git a/pom.xml b/pom.xml index c49402a..9226a24 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ be-graphes-all - 17 + 21 ${jdk.version} ${jdk.version} UTF-8