|
@@ -44,12 +44,15 @@ public class DijkstraAlgorithm extends ShortestPathAlgorithm {
|
44
|
44
|
|
45
|
45
|
tablabel[x].marque=true;
|
46
|
46
|
this.notifyNodeMarked(tablabel[x].sommet_courant);
|
|
47
|
+ //System.out.printf("%f\n",tablabel[x].cout);
|
|
48
|
+ //System.out.printf("%d\n",tablabel[x].sommet_courant.getNumberOfSuccessors());
|
47
|
49
|
nomark--;
|
48
|
50
|
int y;
|
49
|
51
|
|
50
|
52
|
for (Arc arcy: tablabel[x].sommet_courant.getSuccessors()) {
|
51
|
53
|
|
52
|
54
|
y=arcy.getDestination().getId();
|
|
55
|
+ //System.out.println(tas.isValid());
|
53
|
56
|
|
54
|
57
|
if (!tablabel[y].marque && data.isAllowed(arcy)) {//ligne 108 de l'excel d'avancement
|
55
|
58
|
|