From acd1409040e349e6d261864a82b34f05ed8e6475 Mon Sep 17 00:00:00 2001 From: Bezza Younes Date: Tue, 29 Apr 2025 16:36:45 +0200 Subject: [PATCH] ajout d'explications dans fichier note --- .../src/main/java/org/insa/graphs/gui/simple/Launch.java | 4 +++- explications.txt | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java b/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java index 3ddacdb..37e12a8 100644 --- a/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java +++ b/be-graphes-gui/src/main/java/org/insa/graphs/gui/simple/Launch.java @@ -9,6 +9,7 @@ import java.io.FileInputStream; import javax.swing.JFrame; import javax.swing.SwingUtilities; +import org.insa.graphs.algorithm.shortestpath.BellmanFordAlgorithm; import org.insa.graphs.gui.drawing.Drawing; import org.insa.graphs.gui.drawing.components.BasicDrawing; import org.insa.graphs.model.Graph; @@ -71,8 +72,9 @@ public class Launch { try (final PathReader pathReader = new BinaryPathReader(new DataInputStream( new BufferedInputStream(new FileInputStream(pathName))))) { - // TODO: read the pathxx + // TODO: read the path xx path = pathReader.readPath(graph); + } // TODO: draw the path on the drawing diff --git a/explications.txt b/explications.txt index 94d4661..6ea7af0 100644 --- a/explications.txt +++ b/explications.txt @@ -1,2 +1,4 @@ on implémente les graphes avec des listes d'adjacences car les graphes routiers sont planaires + +le gui graphique pour test les algos est dans MainWindows : /home/bezza/Bureau/BE-graphe/BE-Graphe/be-graphes-gui/src/main/java/org/insa/graphs/gui/MainWindow.java