Finishes label (?)
This commit is contained in:
parent
8726dded7e
commit
fcfa9e05eb
1 changed files with 20 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
package org.insa.graphs.algorithm.shortestpath;
|
||||
|
||||
import org.insa.graphs.model.Arc;
|
||||
import org.insa.graphs.model.Node;
|
||||
|
||||
public class Label {
|
||||
|
||||
private Node sommetCourant;
|
||||
|
|
@ -8,7 +11,23 @@ public class Label {
|
|||
|
||||
private int coutRealise;
|
||||
|
||||
public int getCost();
|
||||
private Arc pere;
|
||||
|
||||
public Node getSommetCourant() {
|
||||
return sommetCourant;
|
||||
}
|
||||
|
||||
public Boolean getMarque() {
|
||||
return marque;
|
||||
}
|
||||
|
||||
public Arc getPere() {
|
||||
return pere;
|
||||
}
|
||||
|
||||
public int getCost() {
|
||||
return coutRealise;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue