% 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];
引用
Wei-Rong Chen (2024). Transitive Closure (https://www.mathworks.com/matlabcentral/fileexchange/50143-transitive-closure), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Construction についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.1 | - |
|
|
1.0.0.0 |
|