what does pred means in the command (dist ,path, pred)=grap​hshortestp​ath(G,S)?

回答 (1 件)

Ingrid
Ingrid 2015 年 12 月 2 日
just write the following command in your matlab:
doc graphshortestpath
This will tell you that:
... pred contains the predecessor nodes of the winning paths.

1 件のコメント

Student
Student 2015 年 12 月 3 日
yes i do understand this but the problem is that the values stored in this pred donot form a logic.....

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEntering Commands についてさらに検索

質問済み:

2015 年 12 月 2 日

コメント済み:

2015 年 12 月 3 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by