Dijkstra Two Stack Algorithm

版本 1.0.0 (4.4 KB) 作者: Steve Lenk
Implements Dijkstra Two Stack Algorithm using Programmer Friendly Data Structures.
4.0 次下载
更新 2024/7/20

查看许可证

%
% 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
%

引用格式

Steve Lenk (2026). Dijkstra Two Stack Algorithm (https://ww2.mathworks.cn/matlabcentral/fileexchange/169876-dijkstra-two-stack-algorithm), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2024a
兼容任何版本
平台兼容性
Windows macOS Linux
版本 已发布 发行说明
1.0.0