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

回答(1 个)

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 个评论

yes i do understand this but the problem is that the values stored in this pred donot form a logic.....

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Entering 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