Get all topological sorting arangements
Version 1.1.0.0 (3.55 KB) by
Jan Motl
Generates all topological sorting arangements
For a binary adjacency matrix M, which represents a directed graph, ALLTOPOSORT(M) returns a matrix with all plausible topological sorting arrangements.
The function is an implementation of an algorithm from "An algorithm to generate all topological sorting arrangements" by Y. L. Varol and D. Rotem.
Cite As
Jan Motl (2024). Get all topological sorting arangements (https://www.mathworks.com/matlabcentral/fileexchange/56421-get-all-topological-sorting-arangements), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Directed Graphs in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.