From f80f2a348c192797ce5d61576f77fc7fc805b3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yanis=20Mah=C3=A9?= Date: Thu, 16 Apr 2026 09:38:23 +0200 Subject: [PATCH] Added getCoutRealie for Label --- .../java/org/insa/graphs/algorithm/shortestpath/Label.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/Label.java b/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/Label.java index 13b3b70..17ff9d2 100644 --- a/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/Label.java +++ b/be-graphes-algos/src/main/java/org/insa/graphs/algorithm/shortestpath/Label.java @@ -11,7 +11,7 @@ public class Label { private int coutRealise; - private Arc pere; + private Arc pere; public Node getSommetCourant() { return sommetCourant; @@ -24,6 +24,10 @@ public class Label { public Arc getPere() { return pere; } + + public int getCoutRealise() { + return coutRealise; + } public int getCost() { return coutRealise;