creation Label.java

This commit is contained in:
Lea Norgeux 2023-03-29 16:36:07 +02:00
parent 25bb414920
commit fd94262203

View file

@ -25,13 +25,12 @@ public class Label {
/* correspond au sommet précédent sur le chemin correspondant au plus court chemin courant */ /* correspond au sommet précédent sur le chemin correspondant au plus court chemin courant */
Arc pere ; Arc pere ;
} public Label(Node sommetCourant, Boolean marque, int coutRealise, Arc pere) {
this.sommetCourant = sommetCourant ;
public Label(Node sommetCourant, Boolean marque, int coutRealise, Arc pere) { this.marque = marque ;
this.sommetCourant = sommetCourant ; this.coutRealise = coutRealise ;
this.marque = marque ; this.pere = pere ;
this.coutRealise = coutRealise ; }
this.pere = pere ;
} }