1
0
Fork 0

Finishes label (?)

This commit is contained in:
Yanis Mahé 2026-04-16 09:36:24 +02:00
parent 8726dded7e
commit fcfa9e05eb

View file

@ -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;
@ -7,8 +10,24 @@ public class Label {
private Boolean marque;
private int coutRealise;
private Arc pere;
public int getCost();
public Node getSommetCourant() {
return sommetCourant;
}
public Boolean getMarque() {
return marque;
}
public Arc getPere() {
return pere;
}
public int getCost() {
return coutRealise;
}
}