Dijkstra Algorithm Practice
Version 1.0.4 (69,9 ko) par
Putu Fadya
Dijkstra's algorithm allows us to find the shortest path between any two vertices of a graph.
Dijkstra's algorithm allows us to find the shortest path between any two vertices of a graph. It differs from the minimum spanning tree because the shortest distance between two vertices might not include all the vertices of the graph. Djikstra used this property in the opposite direction i.e we overestimate the distance of each vertex from the starting vertex. Then we visit each node and its neighbors to find the shortest subpath to those neighbors. The algorithm uses a greedy approach in the sense that we find the next best solution hoping that the end result is the best solution for the whole problem.
Citation pour cette source
Putu Fadya (2025). Dijkstra Algorithm Practice (https://fr.mathworks.com/matlabcentral/fileexchange/123175-dijkstra-algorithm-practice), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2022b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Dijkstra Update 1.0.4
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.4 | Bug fixes, new variable, new practice, graph and table example |
||
| 1.0.3 | update file name |
||
| 1.0.2 | Update file name and variable |
||
| 1.0.1 | Adding image |
||
| 1.0.0 |
