LinkedList provides for doubly and multiple linked lists

Dlnode and Mdlnode classes enhance: https://www.mathworks.com/help/matlab/matlab_oop/example-implementing-linked-lists.html#brik0u3
11 téléchargements
Mise à jour 4 avr. 2022

Afficher la licence

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.

Citation pour cette source

Jeffrey Clark (2025). 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. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2021b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0