Based on Donals Knuth's fascicle 3b (Algorithm H):
http://www-cs-faculty.stanford.edu/~knuth/fasc3b.ps.gz
% Generates all partiions of a given set
% Input S is the set as cell array
% Output PI is a cell array with the partitions
% Output RGS are the visited restricted growth strings
Cita come
Paulo Abelha (2024). AllPartitions( S ) (https://www.mathworks.com/matlabcentral/fileexchange/62775-allpartitions-s), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Large Files and Big Data in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |