début LabelStar

This commit is contained in:
Matteo Sabben 2025-05-13 09:37:33 +02:00
parent adad22dca4
commit fc04ffa90b

View file

@ -0,0 +1,16 @@
package org.insa.graphs.algorithm.shortestpath;
import org.insa.graphs.model.Arc;
import org.insa.graphs.model.Node;
public class LabelStar extends Label {
public LabelStar(Node sommetCourant, Boolean marque, double coutRealise, Arc pere) {
super(sommetCourant, marque, coutRealise, pere);
}
public double getCoutRealise() {
return (getCost()+); // getCost est pareil que coutRealise
}
}