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
Citar como
Paulo Abelha (2025). AllPartitions( S ) (https://es.mathworks.com/matlabcentral/fileexchange/62775-allpartitions-s), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2016a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Large Files and Big Data en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
