dodgr icon indicating copy to clipboard operation
dodgr copied to clipboard

fix fundamental cycles

Open mpadge opened this issue 5 years ago • 1 comments

The current code does not return a minimal cycle basis at all. Maybe implement the same algorithm as networkx (with code here), which is described in this paper (direct pdf link here). Another possibility is described in this arXiv paper. Here is also Johnson's original 1975 paper, Finding all the elementary circuits of a directed graph.

mpadge avatar Jul 21 '20 10:07 mpadge

https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/findloop/ - especially the last algorithm, Tarjan's Bridge-finding algorithm, looks sound.

mpadge avatar Sep 12 '24 07:09 mpadge