Added getCoutRealie for Label
This commit is contained in:
parent
fcfa9e05eb
commit
f80f2a348c
1 changed files with 5 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ public class Label {
|
||||||
|
|
||||||
private int coutRealise;
|
private int coutRealise;
|
||||||
|
|
||||||
private Arc pere;
|
private Arc pere;
|
||||||
|
|
||||||
public Node getSommetCourant() {
|
public Node getSommetCourant() {
|
||||||
return sommetCourant;
|
return sommetCourant;
|
||||||
|
|
@ -24,6 +24,10 @@ public class Label {
|
||||||
public Arc getPere() {
|
public Arc getPere() {
|
||||||
return pere;
|
return pere;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getCoutRealise() {
|
||||||
|
return coutRealise;
|
||||||
|
}
|
||||||
|
|
||||||
public int getCost() {
|
public int getCost() {
|
||||||
return coutRealise;
|
return coutRealise;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue