File Exchange

image thumbnail

Get all topological sorting arangements

version (3.55 KB) by Jan Motl
Generates all topological sorting arangements

1 Download

Updated 24 Apr 2016

View License

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 (2020). Get all topological sorting arangements (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)


Also permits binary adjacency matrices

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags