This commit is contained in:
Matteo Sabben 2025-04-29 16:53:11 +02:00
commit daf1c415a8
2 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,7 @@ import java.io.FileInputStream;
import javax.swing.JFrame; import javax.swing.JFrame;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import org.insa.graphs.algorithm.shortestpath.BellmanFordAlgorithm;
import org.insa.graphs.gui.drawing.Drawing; import org.insa.graphs.gui.drawing.Drawing;
import org.insa.graphs.gui.drawing.components.BasicDrawing; import org.insa.graphs.gui.drawing.components.BasicDrawing;
import org.insa.graphs.model.Graph; import org.insa.graphs.model.Graph;
@ -71,8 +72,9 @@ public class Launch {
try (final PathReader pathReader = new BinaryPathReader(new DataInputStream( try (final PathReader pathReader = new BinaryPathReader(new DataInputStream(
new BufferedInputStream(new FileInputStream(pathName))))) { new BufferedInputStream(new FileInputStream(pathName))))) {
// TODO: read the pathxx // TODO: read the path xx
path = pathReader.readPath(graph); path = pathReader.readPath(graph);
} }
// TODO: draw the path on the drawing // TODO: draw the path on the drawing

View file

@ -1,2 +1,4 @@
on implémente les graphes avec des listes d'adjacences car les graphes routiers sont planaires 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