from
PathFinding
by Wasit Limprasert Dijkstra's pathfinding algorithm: computing a shortest path between an initial node to a final node.
Edge
%% Edge
classdef Edge
properties
node_index %neighbour node index
w %distance from a parent node to a connected child node
end
methods
function e=Edge(node_index,w)
e.node_index=node_index;
e.w=w;
end
end
end