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 double coutRealise;
|
||||
private int coutRealise;
|
||||
|
||||
private Arc pere;
|
||||
|
||||
public Label(Node sommetCourant) {
|
||||
this.sommetCourant = sommetCourant;
|
||||
this.marque = false;
|
||||
this.coutRealise = Double.POSITIVE_INFINITY;
|
||||
}
|
||||
private Arc pere;
|
||||
|
||||
public Node getSommetCourant() {
|
||||
return sommetCourant;
|
||||
|
|
@ -30,13 +24,10 @@ public class Label {
|
|||
public Arc getPere() {
|
||||
return pere;
|
||||
}
|
||||
|
||||
public double getCoutRealise() {
|
||||
|
||||
public int getCost() {
|
||||
return coutRealise;
|
||||
}
|
||||
|
||||
public double getCost() {
|
||||
return coutRealise;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue