diff --git a/BE-Graphes/be-graphes-model/src/main/java/org/insa/graphs/model/Path.java b/BE-Graphes/be-graphes-model/src/main/java/org/insa/graphs/model/Path.java index 7580981..9c00acc 100644 --- a/BE-Graphes/be-graphes-model/src/main/java/org/insa/graphs/model/Path.java +++ b/BE-Graphes/be-graphes-model/src/main/java/org/insa/graphs/model/Path.java @@ -4,6 +4,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; + /** *
* Class representing a path between nodes in a graph.
@@ -25,12 +26,21 @@ public class Path {
* @return A path that goes through the given list of nodes.
* @throws IllegalArgumentException If the list of nodes is not valid, i.e. two
* consecutive nodes in the list are not connected in the graph.
- * @deprecated Need to be implemented.
*/
public static Path createFastestPathFromNodes(Graph graph, List