What's a proper algorithm to count all possible paths from any given vertex to another in a graph?

后端 未结 0 528
后悔当初
后悔当初 2021-01-05 15:58

I\'m working with graphs and I\'d like to count all possible paths from given vertex X to given vertex Y.

This is the algorithm I\'ve come up with:

cla         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题