Dijkstra Two Stack Algorithm
Versión 1.0.0 (4,45 KB) por
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
%
Citar como
Steve Lenk (2026). Dijkstra Two Stack Algorithm (https://la.mathworks.com/matlabcentral/fileexchange/169876-dijkstra-two-stack-algorithm), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2024a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
DijkstraTwoStack
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0 |
