Page 1 of 1

How to find a shortest cycle in a directed graph?

Posted: Sun Nov 13, 2005 8:41 am
by kane116
As title. I just solve 10806, which is a problem of finding a shortest cycle in a bi-directional graph. I would like to ask if Dijkstra + Bellman-Ford can also find the shortest cycle in directed graph.

Thank you!

Posted: Sun Apr 09, 2006 11:10 am
by Moha
It is possible, even with floyd. algorithm. But I don't understand your question. You want to know how?