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 (2026). Get all topological sorting arangements (https://in.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
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
