Transitive reduction of a DAG

Computes the transitive reduction of a directed acyclic graph (DAG)
444 download
Aggiornato 29 ago 2011

Visualizza la licenza

Given a DAG in adjacency matrix format, this code will determine the topological ordering of the nodes and, using that ordering, efficiently compute the transitive reduction of the DAG. The package furthermore contains code to generate random non-transitive DAGs as well as derived transitive DAGs as test cases for the algorithm. A function writing the generated DAGs to graph file formats .sif or .dot for visualization is included. Code was developed as an alternative to the GraphViz tool tred, which has incredibly long run times on some medium-sized but highly connected DAGs (see file tred_vs_dag_trans_red.pdf included in the package).

Cita come

Frederik Gwinner (2026). Transitive reduction of a DAG (https://it.mathworks.com/matlabcentral/fileexchange/32723-transitive-reduction-of-a-dag), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2011a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Verification, Validation, and Test in Help Center e MATLAB Answers
Versione Pubblicato Note della release
1.2.0.0

Changed unclear sentence in the comments for the file 'generate_testcase.m'

1.0.0.0