début LabelStar

This commit is contained in:
Matteo Sabben 2025-05-13 09:37:33 +02:00
förälder adad22dca4
incheckning fc04ffa90b

Visa fil

@ -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
}
}