1
0
Fork 0

Compare commits

..

No commits in common. "52a8945a916c691986afe0ea44f71817aef935d2" and "fcfa9e05eb9ee3ed7f753270b1fafda5e1134c42" have entirely different histories.

View file

@ -9,15 +9,9 @@ public class Label {
private Boolean marque; private Boolean marque;
private double coutRealise; private int coutRealise;
private Arc pere; private Arc pere;
public Label(Node sommetCourant) {
this.sommetCourant = sommetCourant;
this.marque = false;
this.coutRealise = Double.POSITIVE_INFINITY;
}
public Node getSommetCourant() { public Node getSommetCourant() {
return sommetCourant; return sommetCourant;
@ -31,12 +25,9 @@ public class Label {
return pere; return pere;
} }
public double getCoutRealise() { public int getCost() {
return coutRealise; return coutRealise;
} }
public double getCost() {
return coutRealise;
}
} }