LinkedList provides for doubly and multiple linked lists

版本 1.0.0 (15.8 KB) 作者: Jeffrey Clark
Dlnode and Mdlnode classes enhance: https://www.mathworks.com/help/matlab/matlab_oop/example-implementing-linked-lists.html#brik0u3
10.0 次下载
更新时间 2022/4/4

查看许可证

The LinkedList.Dlnode class is based on the MATLAB documentation example for using handles to implement forward and backward linked nodes. The Mdlnode class takes this further by allowing the same node to be placed in multiple linked lists at the same time. In addition, methods to support additional functionality and to simplify application usage have been added to both classes while keeping the same method signatures.
The LinkedList package uses the FormattedData package for its delault 'disp' method to display nodes and chains. Use either Dlnode or Mdlnode as a superclass to your class to override this capability. Note that although neither Dlnode or Mdlnode are abstract it is likely you will use it as a superclass to define properties and additional methods anyway.

引用格式

Jeffrey Clark (2024). LinkedList provides for doubly and multiple linked lists (https://www.mathworks.com/matlabcentral/fileexchange/109414-linkedlist-provides-for-doubly-and-multiple-linked-lists), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021b
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0