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
更新 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