Dijkstra's single-source shortest path algorithm solution
Version 1.0.0 (268 KB) by
Steve Lenk
Solves CS 2112 Fall 2019 from Cornell for shortest path
%
% ShortestPath.m
%
% Solves CS 2112 Fall 2019 from Cornell for shortest path
% Uses Dijkstra method from Cornell web page
% https://www.cs.cornell.edu/courses/cs2112/2019fa/lectures/lecture.html?id=ssp
% Uses PriorityQueue from Programmer Friendly Data Structures
%
% Copyright 2024 Steve Lenk, see BSD 3-clause for details
%
Cite As
Steve Lenk (2026). Dijkstra's single-source shortest path algorithm solution (https://ch.mathworks.com/matlabcentral/fileexchange/171549-dijkstra-s-single-source-shortest-path-algorithm-solution), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
ShortestPath
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
