From fd942622036643ad761d1f3884e37168664c46d4 Mon Sep 17 00:00:00 2001 From: norgeux Date: Wed, 29 Mar 2023 16:36:07 +0200 Subject: [PATCH] creation Label.java --- .../insa/graphs/algorithm/shortestpath/Label.java | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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 35a8df2..9bff44b 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 @@ -25,13 +25,12 @@ public class Label { /* correspond au sommet précédent sur le chemin correspondant au plus court chemin courant */ Arc pere ; -} - -public Label(Node sommetCourant, Boolean marque, int coutRealise, Arc pere) { - this.sommetCourant = sommetCourant ; - this.marque = marque ; - this.coutRealise = coutRealise ; - this.pere = pere ; + public Label(Node sommetCourant, Boolean marque, int coutRealise, Arc pere) { + this.sommetCourant = sommetCourant ; + this.marque = marque ; + this.coutRealise = coutRealise ; + this.pere = pere ; + } }