forked from lebotlan/BE-Graphes
Compare commits
No commits in common. "52a8945a916c691986afe0ea44f71817aef935d2" and "fcfa9e05eb9ee3ed7f753270b1fafda5e1134c42" have entirely different histories.
52a8945a91
...
fcfa9e05eb
1 changed files with 4 additions and 13 deletions
|
|
@ -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;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue