creation Label.java
This commit is contained in:
parent
25bb414920
commit
fd94262203
1 changed files with 6 additions and 7 deletions
|
@ -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 ;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue