Compare commits

..

2 commits

Author SHA1 Message Date
112c046292 bonne version 2023-05-10 10:21:55 +02:00
45ee3d48da Revert "r"
This reverts commit 8893ad98ed.

 commençant par '#' seront ignorées, et un message vide abandonne la validation.
2023-05-10 10:18:25 +02:00
7 changed files with 2 additions and 1 deletions

View file

@ -55,8 +55,9 @@ public class DijkstraAlgorithm extends ShortestPathAlgorithm {
Tas.remove(pre);
System.out.println("remove");
}
pre = l;
l.setCost(Math.min(l.getCost(), x.getCost()+data.getCost(suivant)));
pre = l;
Tas.insert(l);
l.setParent(suivant);
l.setMarque(true);

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB