% This function performs Transitive Closure on the input path matrix 'm',
% which is a directed acyclic graph (DAG),
% using simple matrix multiplication method.
% Example:
% input: m = [ 0 1 0;
% 0 0 1;
% 0 0 0];
% output: m = [ 0 1 1;
% 0 0 1;
% 0 0 0];
Zitieren als
Wei-Rong Chen (2024). Transitive Closure (https://www.mathworks.com/matlabcentral/fileexchange/50143-transitive-closure), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R12
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Mehr zu Construction finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1 | - |
|
|
1.0.0.0 |
|