diff --git a/dijkstra.m b/dijkstra.m index 03a919e..cbfc056 100644 --- a/dijkstra.m +++ b/dijkstra.m @@ -9,6 +9,7 @@ function [distanceToNode, parentOfNode, nodeTrajectory] = dijkstra(nbNodes, visi % -visibilityGraph: a matrix containing the distance between connected nodes % (NaN refers to not connected nodes) % The matrix has a size of (nbNodes+2)x(nbNodes+2) +% The first row/col corresponds to the Starting point, the last row/col to the Goal point. % % Outputs: % - distanceToNode: distance between the current node and its parent