Dijkstra Two Stack Algorithm
Versione 1.0.0 (4,45 KB) da
Steve Lenk
Implements Dijkstra Two Stack Algorithm using Programmer Friendly Data Structures.
%
% DijkstraTwoStack.m
%
% Implements the two stack interpreter using PFDS in MATLAB.
%
% The intent is show off PFDS Stack by implementing an interpreter using two stacks (Dijkstra). Install and use PFDS from Mathworks.com
%
% A MATLAB Dictionary will hold operators as anonymous function handles.
%
% Efficiency is definitely not a goal.
%
% Thx to https://switzerb.github.io/imposter/algorithms/2021/01/12/dijkstra-two-stack.html
%
% DijkstraTwoStack.m shows that PFDS Stacks are usable
% Run setup.m as needed first
%
% Copyright 2024 Steve Lenk, see BSD 3-clause for details
%
Cita come
Steve Lenk (2026). Dijkstra Two Stack Algorithm (https://it.mathworks.com/matlabcentral/fileexchange/169876-dijkstra-two-stack-algorithm), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2024a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0 |
