|Code Listing by Meral Shirazipour|
This function is based on Yen's k-Shortest Path algorithm (1971)
1) [shortestPaths]: the list of K shortest paths (in cell array 1xK)
2) [totalCosts] : costs of the K shortest paths (in array 1xK)
Yen's algorithm prevents loops.
This function calls a slightly modified/simplified function dijkstra() (submitted by Xiaodong Wang, 2004)
The Network/Graph of N nodes is fed in the form of a NXN...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.