all simple paths problem

2 次查看(过去 30 天)
  1 个评论
Walter Roberson
Walter Roberson 2011-7-24
Duplicate is at http://www.mathworks.com/matlabcentral/answers/11285-algorithm-to-return-all-possible-connections-between-two-specific-buses-nodes

请先登录,再进行评论。

采纳的回答

Andrew Newell
Andrew Newell 2011-7-24
The package gaimc implements the breadth-first search mentioned in your NIST link. This might be a starting point for you. The remainder of the algorithm description in the NIST link sounds like reasonably straightforward bookkeeping.
  2 个评论
Talaria
Talaria 2011-7-24
what is breadth-first search and what is depth first search? i am not familiar with these terms? thanks!
Andrew Newell
Andrew Newell 2011-7-24
If you click on the link for breadth-first search in the NIST link, you'll know as much as me.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by