Merge branch 'main' of https://git.etud.insa-toulouse.fr/bezza/BE-Graphe
This commit is contained in:
commit
daf1c415a8
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue