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

Answers (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 Comment

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

Sign in to comment.

Categories

Asked:

on 2 Dec 2015

Commented:

on 3 Dec 2015

Community Treasure Hunt

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

Start Hunting!